curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
2.7版
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py python get-pip.py
3.X版
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py
pip install docker-compose
原文:https://www.cnblogs.com/xuanmanstein/p/14610241.html