Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client version 1.44 is too new #205

Open
daniejstriata opened this issue Mar 4, 2024 · 7 comments
Open

client version 1.44 is too new #205

daniejstriata opened this issue Mar 4, 2024 · 7 comments

Comments

@daniejstriata
Copy link

daniejstriata commented Mar 4, 2024

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
@moncho
Copy link
Owner

moncho commented Mar 4, 2024

Upgrading Docker should fix the problem. Or, alternatively, running dry specifying an API version should works as well: DOCKER_API_VERSION=1.43 dry.

@thomasd3
Copy link

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

@moncho
Copy link
Owner

moncho commented Mar 22, 2024

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.

@ibrahimroshdy
Copy link

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 

@thomasd3
Copy link

thomasd3 commented Apr 4, 2024

I also tried different version numbers and got the same result.
FYI, running Dry through docker works on the same machine.

@moncho
Copy link
Owner

moncho commented Apr 4, 2024

I have been able to reproduce the error, I will try to fix it soon.

@VacantFuture
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants