`
男人50
  • 浏览: 239231 次
  • 性别: Icon_minigender_1
  • 来自: 珠海
社区版块
存档分类
最新评论

CentOS7下安装Docker-Compose【追求简单】

 
阅读更多
1、   pip -V
-bash: pip: command not found 
2、 yum -y install epel-release
3、 执行成功之后,再次执行yum -y install python-pip
4、对安装好的pip进行升级 pip install --upgrade pip
5、pip install docker-compose
报错:ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out

  解决:pip --default-timeout=200 install -U docker-compose


使用命令: 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

6、docker-compose -version
docker-compose version 1.21.2, build a133471
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics