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 access denied 
Shell :: install xelatex ubuntu 
Shell :: login github command line 
Shell :: linux opengl 
Shell :: how to make bat file delete itsself 
Shell :: sudo amazon-linux-extras install 
Shell :: install gnome sushi 
Shell :: pkgAcquire::Run (13: Permission denied) 
Shell :: powershell upgrade 
Shell :: black webbrowser 
Shell :: how to delete a file using powershell 
Shell :: ionic capacitor ios live reload 
Shell :: git push current project to master 
Shell :: git remote list urls 
Shell :: install uvicorn 
Shell :: pyinstaller icon image 
Shell :: conda install cufflinks 
Shell :: give full permission to folder in ubuntu 
Shell :: serve : File C:UsersMY PCAppDataRoaming pmserve.ps1 cannot be loaded because running scripts is disabled on this system 
Shell :: setup aws cli ubuntu 
Shell :: restart server centos 
Shell :: fly destroy pipeline 
Shell :: ubuntu list all folders taking up space 
Shell :: psycopg2.OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? 
Shell :: php 7.4 all extensions 
Shell :: fix shortcut virus cmd 
Shell :: install make on windows 
Shell :: how to save iptables 
Shell :: how to get the size of directory in linux 
Shell :: bash curl forecast 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =