client version 1.44 is too new
I can no longer use dry. I get this error:
INFO[0000] Dry could not start: retrieve container list: Error response from daemon: client version 1.44 is too new. Maximum supported API version is 1.43
which is weird as docker version prints:
→ docker version
Client:
Version: 24.0.5
API version: 1.43
Go version: go1.20.10
Git commit: ced0996
Built: Tue Nov 14 00:00:00 2023
OS/Arch: linux/amd64
Context: default
Server:
Engine:
Version: 24.0.5
API version: 1.43 (minimum version 1.12)
Go version: go1.20.10
Git commit: a61e2b4
Built: Tue Nov 14 00:00:00 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.11
GitCommit: 64b8a811b07ba6288238eefc14d898ee0b5b99ba
runc:
Version: 1.1.11
GitCommit: 4bccb38cc9cf198d52bebf2b3a90cd14e7af8c06
docker-init:
Version: 0.19.0
GitCommit: de40ad0
./dry-linux-amd64 --version
dry version 0.11.2, build fe820a70
Upgrading Docker should fix the problem. Or, alternatively, running dry specifying an API version should works as well: DOCKER_API_VERSION=1.43 dry.
same problem here, setting DOCKER_API_VERSION doesn't work for me
DOCKER_API_VERSION=1.40 dry
INFO[0000] Dry could not start: retrieve container list: Error response from daemon: client version 1.44 is too new. Maximum supported API version is 1.41
Strange, it doesn't seem to be using the DOCKER_API_VERSION env var, which does not seem possible :) Any additional information that you can provide?
Also, to check if it makes a difference, please try DOCKER_API_VERSION=1.41 dry.
Hey, @moncho!
Facing the same issue, setting DOCKER_API_VERSION doesn't work!
DOCKER_API_VERSION=1.41 dry
INFO[0000] Dry could not start: retrieve container list: Error response from daemon: client version 1.44 is too new. Maximum supported API version is 1.43
I also tried different version numbers and got the same result. FYI, running Dry through docker works on the same machine.
I have been able to reproduce the error, I will try to fix it soon.
I did export DOCKER_API_VERSION=1.44 and then sudo systemctl restart docker and it resolved the issue for me.
I'm using arch and just before install Dry I ran sudo pacman -Syu so as the latest and greatest.
I have been able to reproduce the error, I will try to fix it soon.
I don't suppose you managed to find a way around it did you? The export command that vacant future used didn't seem to work for me, and I miss Dry!
I did actually, but got distracted with other things, sorry! I don't like you missing Dry, I will try to prepare a new release with the fix