1.首先安装python-pip
[root@app-server ~]# yum -y install epel-release
[root@app-server ~]# yum -y install python-pip
2.安装docker-compose
[root@app-server ~]# pip install docker-compose
3.验证docker-compose安装是否成功
[root@app-server ~]# docker-compose version