Docker-compose installation

Docker-compose installation

 

Download address (use the latest version):

https://github.com/docker/compose/releases/

 

 

The installation will be very slow, please be patient

$ curl -L https://github.com/docker/compose/releases/download/1.11.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

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

 

 

How to speculate:

Copy the docker-compose file installed on the machine directly to the corresponding directory on the new machine

 

scp /usr/local/bin/docker-compose root@新机器IP:/usr/local/bin/docker-compose

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

 

The attachment is the docker-compose file installed by centos7

 

---------------------------------------------------------------------------------------------------------------------------------------------

Reference: http://get.daocloud.io/#install-compose

Docker Compose is hosted on Git Hub and is not very stable. 

You can also install Docker Compose at high speed by executing the following command.

 

curl -L https://get.daocloud.io/docker/compose/releases/download/1.11.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

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

You can customize the version you need by modifying the version in the URL.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326631582&siteId=291194637