1、安装python-pip
yum -y install epel-release yum -y install python-pip
2、安装docker-compose
pip install docker-compose
3、安装报错:You are using pip version 8.1.2, however version 20.1.1 is available
解决方法:
[root@k8s-master network-scripts]# python -m pip install --upgrade pip
原文:https://www.cnblogs.com/wuchangblog/p/13370842.html