安装docker-compose for linux

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装docker-compose for linux相关的知识,希望对你有一定的参考价值。

使用pip安装docker-compose

1.安装setuptools软件包
下载:

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

[[email protected] ~]# tar -zxvf setuptools-26.1.1.tar.gz
[[email protected] ~]# cd setuptools-26.1.1
编译:

[[email protected] setuptools-26.1.1]# python setup.py build
running build
running build_py
安装:

[[email protected] setuptools-26.1.1]# python setup.py install
2.安装pip
下载:

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

[[email protected] ~]# tar -zxvf pip-8.1.2.tar.gz
[[email protected] ~]# cd pip-8.1.2
安装:

[[email protected] ~]# python setup.py install
3.安装docker-compose
[[email protected] ~]# pip install docker-compose

以上是关于安装docker-compose for linux的主要内容,如果未能解决你的问题,请参考以下文章

arm-linu-gcc安装

linu 04 CentOS安装

linu虚拟机安装问题回头看

Docker-Compose API too old for Windows

虚拟机与Linu系统安装与配置详细教程

CentOS 7 软件安装简记