From 684b9aaef2023933a48648904b44a8040835f81d Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 1 Jul 2024 11:01:51 +0200 Subject: [PATCH 1/5] engine/api: add missing entry for v27.0, and update example Signed-off-by: Sebastiaan van Stijn --- content/engine/api/_index.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/content/engine/api/_index.md b/content/engine/api/_index.md index c5e988f1b1..8500cc0984 100644 --- a/content/engine/api/_index.md +++ b/content/engine/api/_index.md @@ -73,21 +73,21 @@ To see the highest version of the API your Docker daemon and client support, use ```console $ docker version Client: Docker Engine - Community - Version: 26.1.0 - API version: 1.45 - Go version: go1.21.9 - Git commit: 9714adc - Built: Mon Apr 22 17:05:41 2024 + Version: 27.0.3 + API version: 1.46 + Go version: go1.21.11 + Git commit: 7d4bcd8 + Built: Sat Jun 29 00:02:23 2024 OS/Arch: linux/arm64 Context: default Server: Docker Engine - Community Engine: - Version: 26.1.0 - API version: 1.45 (minimum version 1.24) - Go version: go1.21.9 - Git commit: c8af8eb - Built: Mon Apr 22 17:07:05 2024 + Version: 27.0.3 + API version: 1.46 (minimum version 1.24) + Go version: go1.21.11 + Git commit: 662f78c + Built: Sat Jun 29 00:02:23 2024 OS/Arch: linux/arm64 Experimental: false ... @@ -99,7 +99,7 @@ You can specify the API version to use in any of the following ways: that incorporates the API version with the features you need. - When using `curl` directly, specify the version as the first part of the URL. For instance, if the endpoint is `/containers/` you can use - `/v1.45/containers/`. + `/v1.46/containers/`. - To force the Docker CLI or the Docker Engine SDKs to use an older version of the API than the version reported by `docker version`, set the environment variable `DOCKER_API_VERSION` to the correct version. This works @@ -127,6 +127,7 @@ You can specify the API version to use in any of the following ways: | Docker version | Maximum API version | Change log | |:---------------|:---------------------------|:---------------------------------------------------------| +| 27.0 | [1.46](/engine/api/v1.46/) | [changes](/engine/api/version-history/#v146-api-changes) | | 26.1 | [1.45](/engine/api/v1.45/) | [changes](/engine/api/version-history/#v145-api-changes) | | 26.0 | [1.45](/engine/api/v1.45/) | [changes](/engine/api/version-history/#v145-api-changes) | | 25.0 | [1.44](/engine/api/v1.44/) | [changes](/engine/api/version-history/#v144-api-changes) | From 28b04f6436b48ab517c413dd9bd24049b6671362 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 1 Jul 2024 11:28:30 +0200 Subject: [PATCH 2/5] engine/install: update example versions Signed-off-by: Sebastiaan van Stijn --- content/engine/install/centos.md | 6 +++--- content/engine/install/debian.md | 6 +++--- content/engine/install/fedora.md | 6 +++--- content/engine/install/raspberry-pi-os.md | 6 +++--- content/engine/install/rhel.md | 6 +++--- content/engine/install/ubuntu.md | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/content/engine/install/centos.md b/content/engine/install/centos.md index da4874faac..a4e05064d2 100644 --- a/content/engine/install/centos.md +++ b/content/engine/install/centos.md @@ -116,8 +116,8 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce ```console $ yum list docker-ce --showduplicates | sort -r - docker-ce.x86_64 3:26.1.3-1.el9 docker-ce-stable - docker-ce.x86_64 3:26.1.2-1.el9 docker-ce-stable + docker-ce.x86_64 3:27.0.3-1.el9 docker-ce-stable + docker-ce.x86_64 3:27.0.2-1.el9 docker-ce-stable <...> ``` @@ -126,7 +126,7 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce Install a specific version by its fully qualified package name, which is the package name (`docker-ce`) plus the version string (2nd column), - separated by a hyphen (`-`). For example, `docker-ce-3:26.1.2-1.el9`. + separated by a hyphen (`-`). For example, `docker-ce-3:27.0.3-1.el9`. Replace `` with the desired version and then run the following command to install: diff --git a/content/engine/install/debian.md b/content/engine/install/debian.md index ffef30f3a0..ae6f39c3d2 100644 --- a/content/engine/install/debian.md +++ b/content/engine/install/debian.md @@ -143,15 +143,15 @@ Docker from the repository. # List the available versions: $ apt-cache madison docker-ce | awk '{ print $3 }' - 5:26.1.0-1~debian.12~bookworm - 5:26.0.2-1~debian.12~bookworm + 5:27.0.3-1~debian.12~bookworm + 5:27.0.2-1~debian.12~bookworm ... ``` Select the desired version and install: ```console - $ VERSION_STRING=5:26.1.0-1~debian.12~bookworm + $ VERSION_STRING=5:27.0.3-1~debian.12~bookworm $ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin ``` diff --git a/content/engine/install/fedora.md b/content/engine/install/fedora.md index 544002cdcc..51f1ac2905 100644 --- a/content/engine/install/fedora.md +++ b/content/engine/install/fedora.md @@ -112,8 +112,8 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce ```console $ dnf list docker-ce --showduplicates | sort -r - docker-ce.x86_64 3:26.1.0-1.fc40 docker-ce-stable - docker-ce.x86_64 3:26.0.2-1.fc40 docker-ce-stable + docker-ce.x86_64 3:27.0.3-1.fc40 docker-ce-stable + docker-ce.x86_64 3:27.0.2-1.fc40 docker-ce-stable <...> ``` @@ -122,7 +122,7 @@ $ sudo dnf config-manager --add-repo {{% param "download-url-base" %}}/docker-ce Install a specific version by its fully qualified package name, which is the package name (`docker-ce`) plus the version string (2nd column), - separated by a hyphen (`-`). For example, `docker-ce-3:26.1.0-1.fc40`. + separated by a hyphen (`-`). For example, `docker-ce-3:27.0.3-1.fc40`. Replace `` with the desired version and then run the following command to install: diff --git a/content/engine/install/raspberry-pi-os.md b/content/engine/install/raspberry-pi-os.md index 50cf69f216..85951a130d 100644 --- a/content/engine/install/raspberry-pi-os.md +++ b/content/engine/install/raspberry-pi-os.md @@ -132,15 +132,15 @@ Docker from the repository. # List the available versions: $ apt-cache madison docker-ce | awk '{ print $3 }' - 5:25.0.0-1~raspbian.12~bookworm - 5:24.0.7-1~raspbian.12~bookworm + 5:27.0.3-1~raspbian.12~bookworm + 5:27.0.2-1~raspbian.12~bookworm ... ``` Select the desired version and install: ```console - $ VERSION_STRING=5:25.0.0-1~raspbian.12~bookworm + $ VERSION_STRING=5:27.0.3-1~raspbian.12~bookworm $ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin ``` diff --git a/content/engine/install/rhel.md b/content/engine/install/rhel.md index 0c67bf5999..f9861e42c0 100644 --- a/content/engine/install/rhel.md +++ b/content/engine/install/rhel.md @@ -128,8 +128,8 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce ```console $ yum list docker-ce --showduplicates | sort -r - docker-ce.s390x 3:26.0.2-1.el9 docker-ce-stable - docker-ce.s390x 3:26.0.1-1.el9 docker-ce-stable + docker-ce.x86_64 3:27.0.3-1.el9 docker-ce-stable + docker-ce.x86_64 3:27.0.2-1.el9 docker-ce-stable <...> ``` @@ -138,7 +138,7 @@ $ sudo yum-config-manager --add-repo {{% param "download-url-base" %}}/docker-ce Install a specific version by its fully qualified package name, which is the package name (`docker-ce`) plus the version string (2nd column), - separated by a hyphen (`-`). For example, `docker-ce-3:26.0.1-1.el9`. + separated by a hyphen (`-`). For example, `docker-ce-3:27.0.3-1.el9`. Replace `` with the desired version and then run the following command to install: diff --git a/content/engine/install/ubuntu.md b/content/engine/install/ubuntu.md index f0734cc273..1c68d88b16 100644 --- a/content/engine/install/ubuntu.md +++ b/content/engine/install/ubuntu.md @@ -146,15 +146,15 @@ Docker from the repository. # List the available versions: $ apt-cache madison docker-ce | awk '{ print $3 }' - 5:26.1.0-1~ubuntu.24.04~noble - 5:26.0.2-1~ubuntu.24.04~noble + 5:27.0.3-1~ubuntu.24.04~noble + 5:27.0.2-1~ubuntu.24.04~noble ... ``` Select the desired version and install: ```console - $ VERSION_STRING=5:26.1.0-1~ubuntu.24.04~noble + $ VERSION_STRING=5:27.0.3-1~ubuntu.24.04~noble $ sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin ``` From acf7ac712e9beae33fc9a1f67c058635d58f1fe1 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 1 Jul 2024 11:36:03 +0200 Subject: [PATCH 3/5] engine: add release notes for v27.0.3 Signed-off-by: Sebastiaan van Stijn Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/engine/release-notes/27.0.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/content/engine/release-notes/27.0.md b/content/engine/release-notes/27.0.md index 1e7c2466bb..9b9dbdda32 100644 --- a/content/engine/release-notes/27.0.md +++ b/content/engine/release-notes/27.0.md @@ -21,6 +21,23 @@ For more information about: - Deprecated and removed features, see [Deprecated Engine Features](../deprecated.md). - Changes to the Engine API, see [Engine API version history](../api/version-history.md). +## 27.0.3 + +{{< release-date date="2024-07-01" >}} + +For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones: + +- [docker/cli, 27.0.3 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A27.0.3) +- [moby/moby, 27.0.3 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A27.0.3) +- Deprecated and removed features, see [Deprecated Features](https://github.com/docker/cli/blob/v27.0.3/docs/deprecated.md). +- Changes to the Engine API, see [API version history](https://github.com/moby/moby/blob/v27.0.3/docs/api/version-history.md). + +### Bug fixes and enhancements + +- Fix a regression that incorrectly reported a port mapping from a host IPv6 address to an IPv4-only container as an error. [moby/moby#48090](https://github.com/moby/moby/pull/48090) +- Fix a regression that caused duplicate subnet allocations when creating networks. [moby/moby#48089](https://github.com/moby/moby/pull/48089) +- Fix a regression resulting in `fail to register layer: failed to Lchown` errors when trying to pull an image with rootless enabled on a system that supports native overlay with user-namespaces. [moby/moby#48086](https://github.com/moby/moby/pull/48086) + ## 27.0.2 {{< release-date date="2024-06-27" >}} From c0732cdb27472bf673783d43dc959f85fbe705f1 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:05:07 +0200 Subject: [PATCH 4/5] vendor: github.com/moby/moby v27.0.3 Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- _vendor/modules.txt | 2 +- go.mod | 4 ++-- go.sum | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/_vendor/modules.txt b/_vendor/modules.txt index f0ed378cec..fad632dd1a 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1,4 +1,4 @@ -# github.com/moby/moby v27.0.1+incompatible +# github.com/moby/moby v27.0.3+incompatible # github.com/moby/buildkit v0.14.1 # github.com/docker/buildx v0.15.1 # github.com/docker/cli v27.0.1-rc.1+incompatible diff --git a/go.mod b/go.mod index f96c4f4afc..c9f9c49fad 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/docker/compose/v2 v2.28.1 // indirect github.com/docker/scout-cli v1.10.0 // indirect github.com/moby/buildkit v0.14.1 // indirect - github.com/moby/moby v27.0.1+incompatible // indirect + github.com/moby/moby v27.0.3+incompatible // indirect ) replace ( @@ -19,5 +19,5 @@ replace ( github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.28.1 github.com/docker/scout-cli => github.com/docker/scout-cli v1.10.0 github.com/moby/buildkit => github.com/moby/buildkit v0.14.0-rc2.0.20240611065153-eed17a45c62b - github.com/moby/moby => github.com/moby/moby v27.0.1+incompatible + github.com/moby/moby => github.com/moby/moby v27.0.3+incompatible ) diff --git a/go.sum b/go.sum index e4766ebcc1..f6516080fd 100644 --- a/go.sum +++ b/go.sum @@ -285,6 +285,8 @@ github.com/moby/moby v26.1.2+incompatible h1:yOGzOkmMRtkhyySHHRH9dWOK/rlrmZR/cVn github.com/moby/moby v26.1.2+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/moby v27.0.1+incompatible h1:eWAkDZQMCcedwjpxh4hbDV/ktQG2QL41PuO7Bm4xWU4= github.com/moby/moby v27.0.1+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= +github.com/moby/moby v27.0.3+incompatible h1:lnUi7z7EFl1VkcahJOdvkI5QDEHJyib4CHbQK3MCQsw= +github.com/moby/moby v27.0.3+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= From fb841120da0c69e2042ee4dbe35750cbc953f706 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:05:58 +0200 Subject: [PATCH 5/5] vendor: github.com/docker/cli v27.0.3 Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- _vendor/modules.txt | 2 +- go.mod | 4 ++-- go.sum | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/_vendor/modules.txt b/_vendor/modules.txt index fad632dd1a..45631f5444 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1,6 +1,6 @@ # github.com/moby/moby v27.0.3+incompatible # github.com/moby/buildkit v0.14.1 # github.com/docker/buildx v0.15.1 -# github.com/docker/cli v27.0.1-rc.1+incompatible +# github.com/docker/cli v27.0.3+incompatible # github.com/docker/compose/v2 v2.28.1 # github.com/docker/scout-cli v1.10.0 diff --git a/go.mod b/go.mod index c9f9c49fad..44b78ee380 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ toolchain go1.21.1 require ( github.com/docker/buildx v0.15.1 // indirect - github.com/docker/cli v27.0.1-rc.1+incompatible // indirect + github.com/docker/cli v27.0.3+incompatible // indirect github.com/docker/compose/v2 v2.28.1 // indirect github.com/docker/scout-cli v1.10.0 // indirect github.com/moby/buildkit v0.14.1 // indirect @@ -15,7 +15,7 @@ require ( replace ( github.com/docker/buildx => github.com/docker/buildx v0.15.1 - github.com/docker/cli => github.com/docker/cli v27.0.1+incompatible + github.com/docker/cli => github.com/docker/cli v27.0.3+incompatible github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.28.1 github.com/docker/scout-cli => github.com/docker/scout-cli v1.10.0 github.com/moby/buildkit => github.com/moby/buildkit v0.14.0-rc2.0.20240611065153-eed17a45c62b diff --git a/go.sum b/go.sum index f6516080fd..25b1232067 100644 --- a/go.sum +++ b/go.sum @@ -108,6 +108,8 @@ github.com/docker/cli v26.1.3-0.20240513184838-60f2d38d5341+incompatible h1:9bTM github.com/docker/cli v26.1.3-0.20240513184838-60f2d38d5341+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/cli v27.0.1+incompatible h1:d/OrlblkOTkhJ1IaAGD1bLgUBtFQC/oP0VjkFMIN+B0= github.com/docker/cli v27.0.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/cli v27.0.3+incompatible h1:usGs0/BoBW8MWxGeEtqPMkzOY56jZ6kYlSN5BLDioCQ= +github.com/docker/cli v27.0.3+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/compose-cli v1.0.35 h1:uZyEHLalfqBS2PiTpA1LAULyJmuQ+YtZg7nG4Xl3/Cc= github.com/docker/compose-cli v1.0.35/go.mod h1:mSXI4hFLpRU3EtI8NTo32bNwI0UXSr8jnq+/rYjGAUU= github.com/docker/compose/v2 v2.22.0 h1:3rRz4L7tPU75wRsV8JZh2/aTgerQvPa1cpzZN+tHqUY=