Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 :: sound output raspberry pi 
Shell :: install influxdb 
Shell :: linux stop running script 
Shell :: wrk install 
Shell :: Run valet secure 
Shell :: git create branch from commit 
Shell :: rm directory linux 
Shell :: create git repo 
Shell :: kubectl connect to node bash 
Shell :: github delete branch remote 
Shell :: compiling c 
Shell :: command to reset the colors in the terminal 
Shell :: linux iso dd 
Shell :: odoo docker 
Shell :: ionic download 
Shell :: cat: /var/jenkins_home/secrets/initialAdminPassword: No such file or directory 
Shell :: git how to add remote 
Shell :: how to change webmin password from command line 
Shell :: bash remove string from string 
Shell :: ansible inventory root password 
Shell :: cudaa nn version 
Shell :: git check diff between two repositories 
Shell :: ssl erzwingen htaccess 
Shell :: git ignore global 
Shell :: sudo pip3 install 
Shell :: ubuntu activate network interface on boot 
Shell :: Generate a new GitHub SSH key 
Shell :: grep 10 line before 
Shell :: gitlab push to create 
Shell :: delete branch gitlab 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =