Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

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
Comment

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
Comment

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
Comment

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

#Note:
#If the command docker-compose fails after installation, check your path. You can also create a symbolic link to /usr/bin or any other directory in your path.For example: 
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version

#Upgrading:
docker-compose migrate-to-labels

#Alternatively, if you’re not worried about keeping them, you can remove them. Compose just creates new ones.
docker container rm -f -v myapp_web_1 myapp_db_1 ...

#Uninstallation:
#To uninstall Docker Compose if you installed using curl:
sudo rm /usr/local/bin/docker-compose

#To uninstall Docker Compose if you installed using pip:
pip uninstall docker-compose
Comment

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
Comment

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
Comment

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
Comment

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"
Comment

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
Comment

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
Comment

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
Comment

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
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: Meaning of the GitHub message: push declined due to email privacy restrictions 
Shell :: powershell -file 
Shell :: how to make ubuntu use all available disk 
Shell :: .gitignore add directory 
Shell :: install vlc on fedora 
Shell :: write to file ubuntu 
Shell :: vmware shared folder not showing 
Shell :: display settings ubuntu 20.04 in right side 
Shell :: linux grep 
Shell :: merge pdf in linux 
Shell :: steps to sync branch to fork master? 
Shell :: atom vs sublime 
Shell :: wget debian 
Shell :: pip for pyhton 3.8 
Shell :: angular 8 install agm 
Shell :: get latitude and longitude based on user entered place android 
Shell :: dockerfile env 
Shell :: install docker on linux 
Shell :: how to make a single digit date start with zero 
Shell :: shell script to enter a number and check the number is perfect number or not 
Shell :: linux alpine install multi package 
Shell :: ksd command not found 
Shell :: opencart install extension Invalid file type! 
Shell :: linux find type of desktop 
Shell :: ng table angular 9 install 
Shell :: git rbanch multiple delet 
Shell :: create eth1 interface in ubuntu without any physical interface 
Shell :: ionic 4 image zoom 
Shell :: docker list images and remove them 
Shell :: how do i close my virtual window which is created by screen command in linux 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =