Docker API error
I'm getting the following error:
com.github.dockerjava.api.exception.DockerException: Status 400: client version 1.24 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer versionafter upgrading Docker and Docker Compose plugin.
Docker was updated on the regular basis, but Docker Compose plugin was not.
With the most recent Docker update, Docker Compose became incompatible, so I updated it too.
PhpStorm used to have this setting in the past:
Settings → Build, Execution, Deployment → Docker → Tools → Docker Compose Executable.
2025.2.4 doesn't have it.
I tried several things including clearing all caches, reinstalling, but to no avail.
Outside of the IDE Docker works as expected, inside I'm getting this error whenever I touch anything related to Docker.
Notes:
Downloading Docker from 29.0.0 to v28.5.2 fixes the issue (no error).
OS: Ubuntu.
请先登录再写评论。
I’m having the same issue.
OS: Pop-OS
Same issue updated docker 29.0.0 and the connection doesnt work anymore in the editor
see https://youtrack.jetbrains.com/issue/IJPL-217878/Status-400-client-version-1.24-is-too-old-after-updating-Docker-Engine-to-v29
Same here, just started today
Same issue with IntelliJ IDEA on Ubuntu 24.04.3 LTS
same here with pycharm 2025.2.4
Having the same issue with PhpStorm 2025.2.4 currently. i also had to revert to the previous version of of docker
Same here with intellij in the last version
Same here with all the latest updates:
CLion 2025.2.4
Docker plugin: 252.27397.129
OS: Ubuntu
System docker engine versions:
Version: 29.0.0
API version: 1.52
Update: downgrading required docker API within the service itself solved for now the problem:
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo vim /etc/systemd/system/docker.service.d/min-api-version.conf
Paste:
[Service]
Environment="DOCKER_MIN_API_VERSION=1.24"
sudo systemctl daemon-reload
sudo systemctl restart docker
I have the same error too. It seems there was a broken update from docker.
I was using TestContainers in Java, and getting
UnixSocketClientProviderStrategy: failed with exception BadRequestException (Status 400: {"message":"client version 1.32 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version"}This is how I fixed it on my Ubuntu system
Docker listed it in their Release notes for version 29. “The daemon now requires API version
v1.44or later ”https://docs.docker.com/engine/release-notes/29/#breaking-changes
Same here. Ubuntu 24.04.
My fix fo revert docker to version 28 is:
Hello,
Thank you for reporting! Please follow IJPL-217878 "Status 400: client version 1.24 is too old" after updating Docker Engine to v29.
FWIW, after downgrading, and in order to prevent the package to re-install upon next upgrade, useful to put the packages on hold:
the packages will still be listed when running checking for udates
but will no longer be installed
to list the hold packages:
and to unhold them when the issue will be fixed:
sidenote…
Markdown support here would be nice
Hello guys, had the same issue!
I resolved without do downgrade the of docker.
Add file in /etc/docker/daemon.json
Now go sudo systemctl restart docker
Execute this script to fix this:
Jardel Marden your sulution didnt work for me, you did exactly this?
I could solve this issue with this on my fresh Linux installation (Kubuntu 24):
- update/create
/etc/docker/daemon.jsonfile- add/edit to have this into this file:
"min-api-version": "1.24"Perrine Lequipe Worked for me! Thanks.
The same fix with "min-api-version" is working for Docker Desktop for Mac. Go to Setting… → Docker Engine and just add "min-api-version": "1.24".
Perrine Lequipe : thanks, it worked for me !