centos7安装Docker Compose(pip方式安装)

 

安装Docker Compose有很多方式,这里只推荐“pip方式安装”

 

SETP 1: 安装工具与依赖

yum -y install epel-release

yum -y install python-pip

pip install --upgrade pip

yum install python-devel

yum install -y gcc

yum install -y libffi-devel python-devel openssl-devel

 

SETP 2: 安装Docker Compose

pip install docker-compose

docker-compose version

你可能感兴趣的:(Docker)