centos7下安装docker-compose

centos7下安装docker-composer

  • 安装步骤

安装步骤

  1. pip -V ,-bash: pip: command not found;
  2. yum -y install epel-release
  3. yum -y install python-pip
  4. pip进行升级pip install --upgrade pip
  5. pip install docker-compose
  6. 报错:ReadTimeoutError: HTTPSConnectionPool(host=‘pypi.python.org’, port=443): Read timed out
  7. 解决:pip --default-timeout=200 install -U docker-compose 解决:pip --default-timeout=200 install -U docker-compose
  8. 报错: Cannot uninstall ‘requests’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
  9. 解决:pip install docker-compose --ignore-installed requests
  10. docker-compose -version
  11. docker-compose version 1.21.2, build a133471;

你可能感兴趣的:(centos7下安装docker-compose)