centOS7安装docker-compose
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install python-pip -y
sudo easy_install pip==20.3.4
pip install docker-compose
报错:
ERROR: Cannot uninstall ‘subprocess32’. 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.
再次执行下面命令
pip install docker-compose --ignore-installed subprocess32
注意这里’subprocess32’是被忽略的错误
最后
docker-compose version