Docker compose: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(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...') |
Sem resumo de edição |
||
Linha 12: | Linha 12: | ||
=== Docker compose Debian 10: === | === Docker compose Debian 10: === | ||
---- | ---- | ||
# | #sudo curl -L <nowiki>https://github.com/docker/compose/releases/download/1.25.3/docker-compose-`uname</nowiki> -s`-`uname -m` -o /usr/local/bin/docker-compose | ||
#<code>sudo chmod +x /usr/local/bin/docker-compose</code> | #<code>sudo chmod +x /usr/local/bin/docker-compose</code> | ||
#<code>docker-compose --version</code> | #<code>docker-compose --version</code> | ||
Linha 18: | Linha 18: | ||
=== Docker compose Debian 9: === | === Docker compose Debian 9: === | ||
---- | ---- | ||
#<code>sudo | #<code>sudo curl -L <nowiki>https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname</nowiki> -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> | |||
#<code>sudo | |||
#<code> | |||
Edição atual tal como às 20h11min de 11 de julho de 2023
Instalação
Dentro do ambiente Linux, siga em ordem os comandos abaixo:
Docker compose Debian 11:
sudo apt update
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
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Docker compose Debian 10:
- 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
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
Docker compose Debian 9:
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
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version