Docker compose

De Wiki NBS
Revisão de 19h55min de 10 de julho de 2023 por Marcelo.vieira (discussão | contribs) (Criou página com ' = Instalação = Dentro do ambiente Linux, siga em ordem os comandos abaixo: === Docker compose Debian 11: === ---- #'''<code>sudo apt update</code>''' #'''<code>sudo curl -L "<<nowiki>https://github.com/docker/compose/releases/download/v2.0.1/docker-compose-$</nowiki>>(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose</code>''' #'''<code>sudo chmod +x /usr/local/bin/docker-compose</code>''' #'''<code>docker-compose --version</code>''' === Docker compose Debian...')
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Ir para navegação Ir para pesquisar

Instalação

Dentro do ambiente Linux, siga em ordem os comandos abaixo:

Docker compose Debian 11:


  1. sudo apt update
  2. sudo curl -L "<https://github.com/docker/compose/releases/download/v2.0.1/docker-compose-$>(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
  3. sudo chmod +x /usr/local/bin/docker-compose
  4. docker-compose --version

Docker compose Debian 10:


  1. sudo curl -L [<https://github.com/docker/compose/releases/download/1.25.3/docker-compose-uname>](https://github.com/docker/compose/releases/download/1.25.3/docker-compose-`uname) -suname -m -o /usr/local/bin/docker-compose
  2. sudo chmod +x /usr/local/bin/docker-compose
  3. docker-compose --version

Docker compose Debian 9:


  1. sudo apt update
  2. sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
  3. curl -fsSL <https://download.docker.com/linux/debian/gpg> | sudo apt-key add -
  4. sudo add-apt-repository "deb [arch=amd64] <https://download.docker.com/linux/debian> $(lsb_release -cs) stable"
  5. sudo apt update
  6. apt-cache policy docker-ce
  7. sudo apt install docker-ce
  8. sudo systemctl status docker