1. 程式人生 > >安裝docker-compose for linux

安裝docker-compose for linux

set build com 軟件包 a13 ins docke follow roo

使用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

安裝docker-compose for linux