安装命令
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
然后修改目录权限可执行,不然后续docker-compose up
命令会报错
sudo chmod +x /usr/local/bin/docker-compose
安装命令
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
然后修改目录权限可执行,不然后续docker-compose up
命令会报错
sudo chmod +x /usr/local/bin/docker-compose