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

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
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 :: please install all available updates for your release 
Shell :: docker-compose prevent exit 
Shell :: gparted 
Shell :: download project from github 
Shell :: github merge conflict 
Shell :: bash change and make directory 
Shell :: instal rust lang on linux 
Shell :: way to specify single file in docker compose up 
Shell :: how to curl a service inside a pod in kubernetes? 
Shell :: self documenting makefile 
Shell :: how to I paste in gitbash windows 
Shell :: install unrar ubuntu 
Shell :: install a file from internet with command prompt 
Shell :: btfs paket ubunt 
Shell :: rasberry pie gsm internet browsing 
Shell :: bash cat file and rewrite it same line 
Shell :: tab to csv command line 
Php :: ajax add edit delete records in database using php 
Php :: phpmailer utf8 charset 
Php :: laravel commands to refresh env file 
Php :: php replace by <br 
Php :: composer laravel ui 
Php :: php explode new line 
Php :: php object to array 
Php :: php file_get_contents follow redirect 
Php :: php contruct parent 
Php :: wordpress loop permalink 
Php :: homebrew install php 7.4 
Php :: phpstorm php file header coment 
Php :: php check if parameter exists 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =