1 problem:

root@douins-docker-01:~/harbor/Deploy# docker-compose

raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'docker-py<2,>1.7.2' distribution was not found and is required by docker-compose

2 solution:

sudo pip install --upgrade docker-compose fixes it

url : https://github.com/docker/compose/issues/1305

相关文章: