安装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

 

posted @ 2020-04-24 15:08  virtual_daemon  阅读(182)  评论(0编辑  收藏  举报