标签:多个 一个 loading com work python2 download none 容器
Docker-Compose是一个部署多个容器的简单但是非常必要的工具.安装Docker-Compose之前,请先安装 python-pip
[root@vm-50-151 network-scripts]# pip -V
-bash: pip: command not found
[root@vm-50-151 network-scripts]# yum -y install epel-release
······
Complete!
[root@vm-50-151 network-scripts]# yum install python-pip
······
Complete!
[root@vm-50-151 network-scripts]# pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 351kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.2
Uninstalling pip-8.1.2:
Successfully uninstalled pip-8.1.2
Successfully installed pip-18.0
至此,pip安装好了,执行pip -V 再次检查pip环境。
[root@vm-50-151 network-scripts]# pip -V
pip 18.0 from /usr/lib/python2.7/site-packages/pip (python 2.7)
[root@vm-50-151 network-scripts]# pip install docker-compose
······
[root@vm-50-151 network-scripts]# docker-compose -version
docker-compose version 1.22.0, build f46880f
标签:多个 一个 loading com work python2 download none 容器
原文地址:http://blog.51cto.com/13767724/2164915