阿里云上启动docker报错:got an unexpected keyword argument ‘chunked‘

bash 复制代码
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options
    return get_project(
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project
    client = get_client(
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client
    client = docker_client(
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client
    client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'

解决方式:

报错位置

python 的 requests

pip list |grep request

pip install requests==2.28.0

解决

相关推荐
2401_831501734 分钟前
Linux之Docker虚拟化技术(一)
java·linux·docker
Json_24 分钟前
使用Docker部署ZLMediaKit流媒体服务器实现gb/t28181协议的设备
服务器·docker·容器
SRE工程师1 小时前
Docker的端口映射问题(庖丁解牛)
运维·docker·容器
Aurora-silas2 小时前
Docker 入门指南:从基础概念到常见命令及高级工具详解
运维·docker·容器
无聊的HZ2 小时前
docker常用命令有哪些
运维·docker·容器
●VON2 小时前
如何通过docker进行本地部署?
java·docker·容器
鸠摩智首席音效师2 小时前
如何清除 Docker 容器的日志 ?
运维·docker·容器
林政硕(Cohen0415)3 小时前
使用docker搭建嵌入式Linux开发环境
linux·docker·sdk·嵌入式linux
Elastic 中国社区官方博客6 小时前
将 agents 连接到 Elasticsearch 使用模型上下文协议 - docker
大数据·数据库·人工智能·elasticsearch·搜索引擎·docker·ai