DekGenius.com
SHELL
install docker compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
install docker compose
//You can install latest version
sudo apt-get update
sudo apt-get install docker-compose-plugin
//or you can install other versions
sudo apt-get install docker-compose-plugin= < VERSION_STRING>
//Install Manually
DOCKER_CONFIG = ${DOCKER_CONFIG:- $HOME/ .docker}
mkdir -p $DOCKER_CONFIG /cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.11.2/docker-compose-linux-x86_64 -o $DOCKER_CONFIG /cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG /cli-plugins/docker-compose
sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose
//Test
docker compose version
download latest docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
Docker Compose installation
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.28.4/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
Install Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version
docker-compose migrate-to-labels
docker container rm -f -v myapp_web_1 myapp_db_1 .. .
sudo rm /usr/local/bin/docker-compose
pip uninstall docker-compose
install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
install docker compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.0/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
install docker-compose
DOCKER_CONFIG = ${DOCKER_CONFIG:- $HOME/ .docker}
mkdir -p $DOCKER_CONFIG /cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o $DOCKER_CONFIG /cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG /cli-plugins/docker-compose
how to install docker compose on windows
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex (( New- Object System.Net.WebClient) .DownloadString( 'https: / / chocolatey.org/ install.ps1')) " && SET "PATH=%PATH%;%ALLUSERSPROFILE%chocolateyin"
install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker compose installation
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
install docker-compose
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
install docker compose
sudo curl -L "https:ocker/compose/releases///github.com/ddownload/1.29.2/docker-compose-$( uname -s ) -$( uname -m ) " -o /usr/local/bin/docker-compose
docker compose install
mkdir -p ~/.docker/cli-plugins/
curl -SL https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
//CHECK THE VERSION
chmod +x ~/.docker/cli-plugins/docker-compose
© 2022 Copyright:
DekGenius.com