验证是否存在
1、安装扩展源
sudo yum -y install epel-release
2、安装python-pip模块
sudo yum install python-pip
3、查看docker-compose
docker-compose version
安装docker-compose
4、安装命令
cd /usr/local/bin/
wget https://github.com/docker/compose/releases/download/1.14.0-rc2/docker-compose-Linux-x86_64
rename docker-compose-Linux-x86_64 docker-compose docker-compose-Linux-x86_64
chmod +x /usr/local/bin/docker-compose
再次验证
docker-compose version