1、下载
curl -L https://github.com/docker/compose/releases\
/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
可能上面的下载比较慢,下面提供网盘地址
链接:https://pan.baidu.com/s/1ILQXkokNPMHVl6tzOacBhw
提取码:yf3x
2、可执行
chmod +x /usr/local/bin/docker-compose
3、测试
docker-compose --version
标签:compose,Centos,uname,usr,https,docker,local From: https://blog.51cto.com/u_14508118/5857662