After another Docker update on Kubuntu 24.04, PhpStorm started throwing an error
com.intellij.execution.ExecutionException: 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 versionThere are two ways to fix this:
- Downgrade Docker to version 28
- Set DOCKER_MIN_API_VERSION=1.24
Let’s dive deeper into the second option.
Open the systemd unit file for Docker:
sudo nano /usr/lib/systemd/system/docker.serviceInside the [Service] section, add the following line:
Environment=DOCKER_MIN_API_VERSION=1.24Save the file and exit the editor.
Reload systemd’s configuration and restart Docker:
sudo systemctl daemon-reload
sudo systemctl restart docker