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 :: count new lines bash 
Shell :: bash how to delete blank lines 
Shell :: clone with ssh gitlab fatal: Could not read from remote repository. 
Shell :: refusing to merge unrelated git 
Shell :: vijm jump to end of file 
Shell :: powershell convert to json 
Shell :: ss in linux command stands for 
Shell :: macbook gestures stopped working 
Shell :: remove local commiits 
Shell :: vue-cli-service not found linux 
Shell :: bash select 
Shell :: force remove a hidden folder in linux 
Shell :: git change rempte 
Shell :: git commands list 
Shell :: ffmpeg reduce video size 
Shell :: regex match + n lines 
Shell :: git commit message editor vscode 
Shell :: how to stash specific file in git 
Shell :: apt vs apt get 
Shell :: vim remove all commented lines 
Shell :: install vagrant in ubuntu 18.04 
Shell :: loops in shell script 
Shell :: install react react testing library 
Shell :: rails all path 
Shell :: show services linux 
Shell :: git revert to old commit 
Shell :: github checkout branch 
Shell :: how to update application in ubunut 
Shell :: check openvpn working 
Shell :: gitignore exclude folder 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =