1. 运行docker-compose 命令报错:
-bash: docker-compose: command not found
2.安装:
1)先安装 pip ,检查是否已有: pip -V
报错:
-bash: pip: command not found
安装 pip :
yum -y install epel-release
yum -y install python-pip
#升级
pip install --upgrade pip
2) 安装Docker-Compose:
pip install docker-compose
检查是是否成功:
docker-compose -version
转自:https://blog.csdn.net/jiangyu1013/article/details/84570872