安装docker-compose
参考官网:https://docs.docker.com/compose/install/#install-compose
1、下载安装包:
https://github.com/docker/compose/releases
2、将下载好的额 docker-compose-Linux-x86_64上传到 /usr/local/bin/目录下即可
3、修改名称进行授权即可
cd /usr/local/bin
mv docker-compose-linux-x86_64 docker-compose
sudo chmod +x docker-compose
查看docker-compose版本号: