Skip to content

Docker client code can no longer talk to the latest verson of the docker daemon 25.0.0 #2259

@bainsy88

Description

@bainsy88

The latest version of the Docker Daemon has now upped the minimum API version to 1.24 via this PR - moby/moby#46887

This now means tools such as skopeo fail against the 25.0.0 docker daemon with the following error

loading image from docker engine: Error response from daemon: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version

This is caused by the hardcoding of the API version to 1.22 here - https://github.com/containers/image/blob/main/docker/daemon/client.go#L14

This version on the containers/image side has not been updated for 7 years and it is now true that in the case a version is not set the client and daemon will try negotiate an API Version that they both support so that seems a cleaner solution but not sure if there is a good reason why a version would need to be set in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA defect in an existing functionality (or a PR fixing it)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions