docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker-compose (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Upgrading from Mantic to Noble and trying to `docker-compose up` on my project I see this error:
```
✗ docker-compose --profile myproj_base up
Traceback (most recent call last):
File "/usr/lib/
return self.version(
File "/usr/lib/
return self._result(
File "/usr/lib/
return f(self, *args, **kwargs)
File "/usr/lib/
return self.get(url, **self.
File "/usr/lib/
return self.request("GET", url, **kwargs)
File "/usr/lib/
resp = self.send(prep, **send_kwargs)
File "/usr/lib/
r = adapter.
File "/usr/lib/
resp = conn.urlopen(
File "/usr/lib/
response = self._make_request(
File "/usr/lib/
conn.request(
TypeError: HTTPConnection.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
command_func()
File "/usr/lib/
project = project_
File "/usr/lib/
return get_project(
File "/usr/lib/
client = get_client(
File "/usr/lib/
client = docker_client(
File "/usr/lib/
client = APIClient(
File "/usr/lib/
self._version = self._retrieve_
File "/usr/lib/
raise DockerException(
docker.
```
Please let me know if I can help with any additional debug.
This can be worked around by installing docker- compose- plugin as on https:/ /docs.docker. com/compose/ install/ and using `docker compose` instead of `docker-compose`