安装 docker-compose的时候提示错误:


Could not find a version that satisfies the requirement docker[ssh]>=5 (from docker-compose)


把原来命令:


pip3 install -U docker-compose


改为:


pip3 --trusted-host pypi.python.org install -U docker-compose