1、安装并换源:
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
2、更改权限:
chmod +x /usr/local/bin/docker-compose
3、查看版本:
docker-compose --version
1、安装并换源:
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
2、更改权限:
chmod +x /usr/local/bin/docker-compose
3、查看版本:
docker-compose --version