Docker compose line installation

 

Compose is a user-defined applications and operating Docker plurality of containers. In the Compose in YAML files you can use to configure your applications. Then, only a simple command, you can create and start all the services that you configure.

GitHub use the address to find the latest version of the latest compose Figure


 

Download version 1.24.0 of this version

I am here to use the online installation is very slow, it is recommended to download the installation after use, use other download tools such as Thunder download file

 


 

Download Thunder download speed is much faster than using online download speeds, this is the time-line installation

 


 

Here is the Thunder download speed, the difference is not an ordinary ah


 

We in the windows need to upload and download to linux, I used here is ubuntu16.04, remote connectivity tools xshell,

 

Use filezliia upload local files to Windows in linux

 


 

We need to docker-compose transferred to the environment variable

Use cat / etc / environment, viewing environment variable, the following documents show it can be transferred docker-compose

 

 


 

 

Docker-compose transfer is / usr / bin in

mv  docker-compose  /usr/bin

Into the / usr / bin directory you can see the following description mobile success

 

 


 

Look at the file permissions, indicating unenforceable

So we need to change the permissions to him

chmod +x docker-compose


 

We tested whether this document can perform the following

docker-compose version


 

Instructions can be executed

These are the docker-compose the installation! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

Guess you like

Origin www.cnblogs.com/gaozhanghappy/p/10955219.html