使用pip安装docker-compose

1.安装setuptools软件包
下载:

[root@amumu ~]# wget https://pypi.python.org/packages/32/3c/e853a68b703f347f5ed86585c2dd2828a83252e1216c1201fa6f81270578/setuptools-26.1.1.tar.gz#md5=0744ee90ad266fb117d59f94334185d0
解压:

[root@amumu ~]# tar -zxvf setuptools-26.1.1.tar.gz
[root@amumu ~]# cd setuptools-26.1.1
编译:

[root@amumu setuptools-26.1.1]# python setup.py build
running build
running build_py
安装:

[root@amumu setuptools-26.1.1]# python setup.py install
2.安装pip
下载:

[root@amumu ~]# wget https://pypi.python.org/packages/e7/a8/7556133689add8d1a54c0b14aeff0acb03c64707ce100ecd53934da1aa13/pip-8.1.2.tar.gz#md5=87083c0b9867963b29f7aba3613e8f4a
解压:

[root@amumu ~]# tar -zxvf pip-8.1.2.tar.gz
[root@amumu ~]# cd pip-8.1.2
安装:

[root@amumu ~]# python setup.py install
3.安装docker-compose
[root@amumu ~]# pip install docker-compose