美文网首页
centOS7.x 安装 docker-compose

centOS7.x 安装 docker-compose

作者: UMF_士弘 | 来源:发表于2018-01-08 16:59 被阅读0次

检查安装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

      本文链接:https://www.haomeiwen.com/subject/wpbbnxtx.html