docker-compose容器编排
安装docker-compose
- 下载链接:https://github.com/docker/compose/releases/
- 下载这个版本
[root@c1-10-66 ~]# ls
anaconda-ks.cfg docker-compose-linux-x86_64_2 gpu-burn
## 改个名字
[root@c1-10-66 ~]# mv docker-compose-linux-x86_64_2 docker-compose
## 添加一个环境变量
[root@c1-10-66 ~]# mv docker-compose /usr/local/bin/
[root@c1-10-66 ~]# chmod +x /usr/local/bin/docker-compose
## 测试是否正常
[root@c1-10-66 ~]# docker-compose -v
Docker Compose version v2.29.3