Docker compose

De Wiki NBS
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 -s`-`uname -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 curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
  2. sudo chmod +x /usr/local/bin/docker-compose
  3. docker-compose --version