1
0
mirror of https://github.com/containers/podman.git synced 2026-02-05 15:45:08 +01: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:
Anders F Björklund
2026-01-17 09:51:20 +01:00
parent dc8d2c13fd
commit c9e20280ed
3 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ for i in /version version; do
.Components[0].Details.APIVersion~6[0-9.-]\\+ \
.Components[0].Details.MinAPIVersion=4.0.0 \
.Components[0].Details.Os=linux \
.ApiVersion=1.41 \
.ApiVersion=1.44 \
.MinAPIVersion=1.24 \
.Os=linux
done

View File

@@ -314,7 +314,7 @@ function t() {
case "$path" in
/*) url="$url$path" ;;
libpod/*) url="$url/v6.0.0/$path" ;;
*) url="$url/v1.41/$path" ;;
*) url="$url/v1.44/$path" ;;
esac
fi

View File

@@ -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"),
},
}