我知道问题了
Docker Python 库版本与 urllib3 版本不兼容导致的。Docker 5.0.3 与较新版本的 urllib3 存在兼容性问题。
bt 自带的版本如下
Name: docker
Version: 5.0.3
Summary: A Python library for the Docker Engine API.
Home-page: https://github.com/docker/docker-py
Author:
Author-email:
License: Apache License 2.0
Location: /www/server/panel/pyenv/lib/python3.7/site-packages
Requires: requests, websocket-client
Required-by:
只需要执行
btpip install docker>=6.0.0 --upgrade
就都好了,也不需要改文件了。
这波官方不得谢谢我啊 |