服务器:阿里云centos7.2
安装docker
yum -y install docker-io
启动docker
service docker start
开机启动
chkconfig docker on
安装python pip
yum -y install epel-release
yum -y install python-pip
pip install --upgrade pip
安装docker-compose
pip install docker-compose
docker-compose -version