Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker-compose install centos 8

# download
sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

# creare simlink
sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

# done
docker-compose -v
Comment

docker-compose install in centos 7

sudo curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Comment

install docker-compose in centos 8

sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

# After you do the curl command , it'll put docker-compose into the /usr/local/bin

#which is not on the PATH. To fix it, create a symbolic link:

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
#And now if you do: docker-compose --version

#You'll see that docker-compose is now on the PATH
Comment

docker compose install centos 8

curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
Comment

centos 7 install docker compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Comment

Install Docker Compose on CentOS

#Copy the appropriate docker-compose binary from GitHub
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

#NOTE: to get the latest version sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose


#Fix permissions after download
sudo chmod +x /usr/local/bin/docker-compose

#Verify success
docker-compose version
Comment

PREVIOUS NEXT
Code Example
Shell :: git bash download 
Shell :: install webstorm ubuntu 20.04 
Shell :: list files in git 
Shell :: how to totally uninstall prettier 
Shell :: web 3 react npm 
Shell :: raspberry pi install vscode via command line 
Shell :: plesk clear mail queue 
Shell :: pip not installing packages 
Shell :: how do I run a container in docker using a dockerfile 
Shell :: install latex 
Shell :: meteor uninstall 
Shell :: install xfce terminal on ubuntu 
Shell :: react-native-router-flux 
Shell :: ubuntu copy 
Shell :: github desktop download for ubuntu 
Shell :: how to run docker daemon on ubuntu 
Shell :: chmod just directories 
Shell :: install flask dockerfile freeze 
Shell :: Something is already running on port 3000. Probably: 
Shell :: jenkins store sh output in variable 
Shell :: ubuntu install gnote 
Shell :: copy folder in ubuntu 
Shell :: grafana docker password 
Shell :: git log 
Shell :: git push url change 
Shell :: ubuntu kill service 
Shell :: download latest docker-compose 
Shell :: how to install onnx on jetson nano 
Shell :: start docker 
Shell :: camelcase python installing 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =