1. 添加EPEL源
yum install -y epel-release
2. 安装python-pip
yum install -y python-pip
3. 安装docker-compose
pip install docker-compose
4.验证是否安装成功
docker-compose -version
1. 添加EPEL源
yum install -y epel-release
2. 安装python-pip
yum install -y python-pip
3. 安装docker-compose
pip install docker-compose
4.验证是否安装成功
docker-compose -version