返回 首页

from docker import ContextAPI ImportError: cannot import name 'ContextAPI' from 'docker'


参考:

https://github.com/docker/compose/issues/8366#issuecomment-1965947436

pip  uninstall docker-py
pip install docker==5.0.3

登录