大佬教程收集整理的这篇文章主要介绍了CentOS 7.x 安装 Docker-Compose,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
添加企业版附加包。
yum -y install epel-release
安装 PIP。
yum -y install python-pip
更新 PIP。
pip install --upgrade pip
安装 Docker Compose
pip install 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.
这个时候,你需要执行以下命令强制重新安装 request。
pip install -I requests==2.9
安装完成之后,Docker-Compose 安装成功。
以上是大佬教程为你收集整理的CentOS 7.x 安装 Docker-Compose全部内容,希望文章能够帮你解决CentOS 7.x 安装 Docker-Compose所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。