安装 docker-compose
编辑
33
2023-12-11
1、下载docker-compose
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
2、设置docker-compose权限
sudo chmod +x /usr/local/bin/docker-compose
3、测试docker-compose是否安装成功
$ docker-compose --version
docker-compose version 1.26.0, build 1110ad01
- 0
- 0
-
赞助
赞赏 -
分享