centOS7.x 安装 docker-compose

检查安装pip

1.安装依赖环境

$ sudo yum -y install epel-release

2.安装 python-pip

$ sudo yum install python-pip

3.升级pip到最新版本

$ sudo pip install --upgrade pip


安装docker-compose

$ sudo pip install docker-compose



注意:

Cannot uninstall ‘requests’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

报以上错误解决方式:

pip install docker-compose --ignore-installed requests

你可能感兴趣的:(centOS7.x 安装 docker-compose)