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 :: how to know if my linux is debian or fedora 
Shell :: is sequal ace in linux? 
Shell :: how to change elementary os theme 
Shell :: configure: error: "curses not found" 
Shell :: mac theme ubuntu terminal 
Shell :: typescript compile specific file 
Shell :: git auto sign 
Shell :: vs code wsl unable to write file 
Shell :: windows stop service 
Shell :: mnt d wsl 
Shell :: install conky on pop os 
Shell :: linux create file 
Shell :: git remove all changes 
Shell :: list all users ubuntu 20.04 
Shell :: how to highlight code in github editor 
Shell :: kali linux time settings 
Shell :: generate pkcs12 certificate using keytool 
Shell :: how to install snapcraft 
Shell :: linux password expires date 
Shell :: Why double tapping icon doesnt minimize in ubuntu 
Shell :: git get remote branch 
Shell :: terminal theme 
Shell :: Date time in linux prompt 
Shell :: how to install cli50 
Shell :: delete line in sed 
Shell :: mqtt client ubuntu console 
Shell :: shell count number of columns 
Shell :: openzeppelin install 
Shell :: how to speed up internet connection ubuntu 20 
Shell :: upload file ssh terminal 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =