From 818bfebc9c1c138171b92ecf460e0cca6f7fed55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 15 Oct 2026 22:59:45 +0200 Subject: [PATCH 1/2] Add replace rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Gronowski --- client/go.mod | 2 ++ client/go.sum | 2 -- go.mod | 4 ++++ go.sum | 4 ---- vendor/github.com/moby/moby/client/client.go | 2 +- vendor/modules.txt | 6 ++++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/client/go.mod b/client/go.mod index cf6eaf2ea6..22a464db3e 100644 --- a/client/go.mod +++ b/client/go.mod @@ -32,3 +32,5 @@ require ( go.opentelemetry.io/otel/metric v1.35.0 // indirect golang.org/x/sys v0.33.0 // indirect ) + +replace github.com/moby/moby/api => ../api diff --git a/client/go.sum b/client/go.sum index 93a011dbc4..81ae788ae4 100644 --- a/client/go.sum +++ b/client/go.sum @@ -29,8 +29,6 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0= github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo= -github.com/moby/moby/api v1.56.1 h1:PpWkvVPB7Fr/No8w+TfyJ/I6rWZ2YPZhT3JorIg+06c= -github.com/moby/moby/api v1.56.1/go.mod h1:sZ+THbVWkjOmBPPfbnzdD/G1LuIexWhqlSHHPTDQ1Uk= github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ= github.com/moby/term v0.5.2/go.mod h1:d3djjFCrjnB+fl8NJux+EJzu0msscUP+f8it8hPkFLc= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= diff --git a/go.mod b/go.mod index d40b08d9b1..089b2af07e 100644 --- a/go.mod +++ b/go.mod @@ -308,3 +308,7 @@ require ( sigs.k8s.io/yaml v1.6.0 // indirect tags.cncf.io/container-device-interface/specs-go v1.1.1 // indirect ) + +replace github.com/moby/moby/api => ./api + +replace github.com/moby/moby/client => ./client diff --git a/go.sum b/go.sum index 1575e9d078..d61cd0309b 100644 --- a/go.sum +++ b/go.sum @@ -479,10 +479,6 @@ github.com/moby/ipvs v1.1.0 h1:ONN4pGaZQgAx+1Scz5RvWV4Q7Gb+mvfRh3NsPS+1XQQ= github.com/moby/ipvs v1.1.0/go.mod h1:4VJMWuf098bsUMmZEiD4Tjk/O7mOn3l1PTD3s4OoYAs= github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg= github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc= -github.com/moby/moby/api v1.56.1 h1:PpWkvVPB7Fr/No8w+TfyJ/I6rWZ2YPZhT3JorIg+06c= -github.com/moby/moby/api v1.56.1/go.mod h1:sZ+THbVWkjOmBPPfbnzdD/G1LuIexWhqlSHHPTDQ1Uk= -github.com/moby/moby/client v0.6.2 h1:ekSPlMccrZGcw6Scb8T9D39qE0mB+XupU/yS0zNw9N4= -github.com/moby/moby/client v0.6.2/go.mod h1:DGcnO7qmPJrqobx/ggQgQ/AUk+2wgVdQv7uxB0/mEsc= github.com/moby/patternmatcher v0.6.1 h1:qlhtafmr6kgMIJjKJMDmMWq7WLkKIo23hsrpR3x084U= github.com/moby/patternmatcher v0.6.1/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc= github.com/moby/policy-helpers v0.0.0-20261006174519-bd98f4747414 h1:gOgxy0eXQlhvC5hB7CE+tJLLzrC9+gjTWlU+Bv5T8Ck= diff --git a/vendor/github.com/moby/moby/client/client.go b/vendor/github.com/moby/moby/client/client.go index f407505e01..e3e34d7849 100644 --- a/vendor/github.com/moby/moby/client/client.go +++ b/vendor/github.com/moby/moby/client/client.go @@ -108,7 +108,7 @@ const DummyHost = "api.moby.localhost" // overriding the version and disable API-version negotiation. // // This version may be lower than the version of the api library module used. -const MaxAPIVersion = "1.56" +const MaxAPIVersion = "1.57" // MinAPIVersion is the minimum API version supported by the client. API versions // below this version are not considered when performing API-version negotiation. diff --git a/vendor/modules.txt b/vendor/modules.txt index b167aac7c9..2d7745616c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1305,7 +1305,7 @@ github.com/moby/ipvs # github.com/moby/locker v1.0.1 ## explicit; go 1.13 github.com/moby/locker -# github.com/moby/moby/api v1.56.1 +# github.com/moby/moby/api v1.56.1 => ./api ## explicit; go 1.24 github.com/moby/moby/api/pkg/authconfig github.com/moby/moby/api/pkg/stdcopy @@ -1327,7 +1327,7 @@ github.com/moby/moby/api/types/storage github.com/moby/moby/api/types/swarm github.com/moby/moby/api/types/system github.com/moby/moby/api/types/volume -# github.com/moby/moby/client v0.6.2 +# github.com/moby/moby/client v0.6.2 => ./client ## explicit; go 1.24 github.com/moby/moby/client github.com/moby/moby/client/internal @@ -2297,3 +2297,5 @@ tags.cncf.io/container-device-interface/pkg/parser # tags.cncf.io/container-device-interface/specs-go v1.1.1 ## explicit; go 1.19 tags.cncf.io/container-device-interface/specs-go +# github.com/moby/moby/api => ./api +# github.com/moby/moby/client => ./client From 6d8a30ebb3b39689fd06de95fd9c2c340297d259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 15 Oct 2026 22:59:59 +0200 Subject: [PATCH 2/2] Bump API to 1.57 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Gronowski --- api/docs/CHANGELOG.md | 2 ++ api/swagger.yaml | 6 +++--- client/client.go | 2 +- daemon/config/config.go | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/api/docs/CHANGELOG.md b/api/docs/CHANGELOG.md index 442bf2986a..2d8db21a75 100644 --- a/api/docs/CHANGELOG.md +++ b/api/docs/CHANGELOG.md @@ -13,6 +13,8 @@ keywords: "API, Docker, rcli, REST, documentation" will be rejected. --> +## v1.57 API changes + ## v1.56 API changes * `GET /containers/json` now supports an `annotation` filter to filter diff --git a/api/swagger.yaml b/api/swagger.yaml index 8c4d51989f..73cb5af94e 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -19,10 +19,10 @@ produces: consumes: - "application/json" - "text/plain" -basePath: "/v1.56" +basePath: "/v1.57" info: title: "Docker Engine API" - version: "1.56" + version: "1.57" x-logo: url: "https://docs.docker.com/assets/images/logo-docker-main.png" description: | @@ -56,7 +56,7 @@ info: is returned. If you omit the version-prefix, the current version of the API is used. - For example, calling `/info` is the same as calling `/v1.56/info`. Using the + For example, calling `/info` is the same as calling `/v1.57/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, diff --git a/client/client.go b/client/client.go index f407505e01..e3e34d7849 100644 --- a/client/client.go +++ b/client/client.go @@ -108,7 +108,7 @@ const DummyHost = "api.moby.localhost" // overriding the version and disable API-version negotiation. // // This version may be lower than the version of the api library module used. -const MaxAPIVersion = "1.56" +const MaxAPIVersion = "1.57" // MinAPIVersion is the minimum API version supported by the client. API versions // below this version are not considered when performing API-version negotiation. diff --git a/daemon/config/config.go b/daemon/config/config.go index e03b04ec2c..a8c06697c8 100644 --- a/daemon/config/config.go +++ b/daemon/config/config.go @@ -61,7 +61,7 @@ const ( // MaxAPIVersion is the highest REST API version supported by the daemon. // // This version may be lower than the version of the api library module used. - MaxAPIVersion = "1.56" + MaxAPIVersion = "1.57" // defaultMinAPIVersion is the minimum API version supported by the API. // This version can be overridden through the "DOCKER_MIN_API_VERSION" // environment variable. The minimum allowed version is determined