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 :: cmd echo without newline 
Shell :: git go back to commit 
Shell :: change commit message git 
Shell :: delete all mail terminal 
Shell :: remove write proteced in usb ubuntu 
Shell :: tar multiple files and directories 
Shell :: create github ssh key 
Shell :: rename a directory in git 
Shell :: awk field separator multiple characters 
Shell :: how to clear gradle cache gitignore 
Shell :: Install MySQL FreeBSD 
Shell :: powershell copy file to remote server 
Shell :: if file not exists 
Shell :: Git - create new branch and switch to that new branch 
Shell :: git delete commit from history 
Shell :: how to install windows sdk 
Shell :: neovim install wsl vim-plug 
Shell :: svg to png convert imagemagick 
Shell :: push branch to main github 
Shell :: linux terminal show installed applications 
Shell :: linux find directory and file 
Shell :: linux extract txz 
Shell :: flutter install in window 
Shell :: find the process ID of a running process bash without pgrep 
Shell :: helm install with values file 
Shell :: nginx on ubuntu 
Shell :: libgnome-keyring-dev 
Shell :: bash: udevadm: command not found 
Shell :: archlinux free used port 
Shell :: how to install programs in ubuntu using terminal 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =