1 2 3 4 5 6 7
| yum update yum install docker service docker start
chkconfig docker on curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
|
接下来就可以愉快的使用docker-compose
命令了