Docker-compose 在线安装
安装方式一:1. 拉取docker-composecurl -L https://github.com/docker/compose/releases/download/1.23.0-rc3/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose2. 给docker-compose添加可执行权限...
·
安装方式一:
1. 拉取docker-compose
curl -L https://github.com/docker/compose/releases/download/1.23.0-rc3/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
2. 给docker-compose添加可执行权限
chmod +x /usr/local/bin/docker-compose
安装方式二:
1. 拉取docker-compose
wget https://github.com/docker/compose/releases/download/1.23.0-rc3/docker-compose-Linux-x86_64
2.将docker-compose移动至系统执行目录中
mv docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
3. 给docker-compose添加可执行权限
chmod +x /usr/local/bin/docker-compose
查看docker-compose版本
docker-compose --version
更多推荐
已为社区贡献1条内容
所有评论(0)