mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
Bump Compat API version to supported v1.44
All API versions before version 1.44 are now deprecated, starting with Docker client version 1.29 giving an error: "API version 1.41 is not supported by this client" Previously it was backward-compatible for more than 10 years, with version 1.24 being the version in classic Docker 1.12. It seems like API code changes were already added? Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ const (
|
||||
// Version is the version of the build.
|
||||
var Version = semver.MustParse(rawversion.RawVersion)
|
||||
|
||||
// See https://docs.docker.com/engine/api/v1.40/
|
||||
// See https://docs.docker.com/reference/api/engine/
|
||||
// libpod compat handlers are expected to honor docker API versions
|
||||
|
||||
// APIVersion provides the current and minimal API versions for compat and libpod endpoint trees
|
||||
@@ -40,7 +40,7 @@ var APIVersion = map[Tree]map[Level]semver.Version{
|
||||
MinimalAPI: semver.MustParse("4.0.0"),
|
||||
},
|
||||
Compat: {
|
||||
CurrentAPI: semver.MustParse("1.41.0"),
|
||||
CurrentAPI: semver.MustParse("1.44.0"),
|
||||
MinimalAPI: semver.MustParse("1.24.0"),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user