yum安装pip,pip安装compose

#centos7
yum -y install epel-release
yum -y install python-pip
pip install --upgrade pip
pip install docker-compose

 检验:

[root@localhost web]# docker-compose -version
docker-compose version 1.23.2, build 1110ad0
原文地址:https://www.cnblogs.com/kaishirenshi/p/10392345.html