From c9e20280ed2de26ed442a5a335e49a5dafede024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sat, 17 Jan 2026 09:51:20 +0100 Subject: [PATCH] Bump Compat API version to supported v1.44 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- test/apiv2/01-basic.at | 2 +- test/apiv2/test-apiv2 | 2 +- version/version.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/apiv2/01-basic.at b/test/apiv2/01-basic.at index 8d898ac5ad..1d772b4096 100644 --- a/test/apiv2/01-basic.at +++ b/test/apiv2/01-basic.at @@ -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 diff --git a/test/apiv2/test-apiv2 b/test/apiv2/test-apiv2 index 4ebd771350..d1a78c58c4 100755 --- a/test/apiv2/test-apiv2 +++ b/test/apiv2/test-apiv2 @@ -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 diff --git a/version/version.go b/version/version.go index 10392535e7..7918d0317a 100644 --- a/version/version.go +++ b/version/version.go @@ -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"), }, }