换源
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
链接目录:
本文标题:Docker-compose安装
本文链接:https://www.haomeiwen.com/subject/cgksahtx.html
网友评论