1.Git安装
curl -L --fail https://github.com/docker/compose/releases/download/1.17.0/run.sh -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
2.使用curl安装的卸载
rm /usr/local/bin/docker-compose # 使用curl安装的
1.Git安装
curl -L --fail https://github.com/docker/compose/releases/download/1.17.0/run.sh -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
2.使用curl安装的卸载
rm /usr/local/bin/docker-compose # 使用curl安装的