需要先安装docker

yum install docker -y
systemctl start docker
systemctl enable docker

 

链接:https://pan.baidu.com/s/17RCwaJbsAd6KNa_zBs0oCg
提取码:oyps

提取docker-compose 放到/usr/local/bin下,并赋予权限即可

sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

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

docker-compose --version

 

参考:

https://www.cnblogs.com/ray-mmss/p/10868007.html

https://www.jianshu.com/p/f323aa0416da 
https://www.cnblogs.com/ruanqin/p/11082506.html

 

posted on 2020-05-20 18:14  小油2018  阅读(305)  评论(0编辑  收藏  举报