安装docker-compose
--安装docker-compose --若docker-compose模块不存在,bash: docker-compose: command not found yum -y install epel-release yum -y install python-pip pip --version --ReadTimeoutError --pip install docker-compose --进入下面的网址下载目前的最新版: https://github.com/docker/compose/releases/tag/1.14.0-rc2 网页拉到最下面,下载: docker-compose-Linux-x86_64 --然后将文件上传到 /usr/local/bin/ 文件夹下, mv docker-compose-Linux-x86_64 docker-compose chmod +x /usr/local/bin/docker-compose docker-compose version