Merge pull request #20330 from thaJeztah/engine_27.0.3

engine: add release notes for v27.0.3
This commit is contained in:
David Karlsson 2024-07-01 12:07:50 +02:00 committed by GitHub
commit 034b68eb3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 57 additions and 35 deletions

View File

@ -1,6 +1,6 @@
# 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
# github.com/docker/cli v27.0.3+incompatible
# github.com/docker/compose/v2 v2.28.1
# github.com/docker/scout-cli v1.10.0

View File

@ -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) |

View File

@ -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 `<VERSION_STRING>` with the desired version and then run the following
command to install:

View File

@ -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
```

View File

@ -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 `<VERSION_STRING>` with the desired version and then run the following
command to install:

View File

@ -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
```

View File

@ -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 `<VERSION_STRING>` with the desired version and then run the following
command to install:

View File

@ -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
```

View File

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

8
go.mod
View File

@ -6,18 +6,18 @@ 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
github.com/moby/moby v27.0.1+incompatible // indirect
github.com/moby/moby v27.0.3+incompatible // indirect
)
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
github.com/moby/moby => github.com/moby/moby v27.0.1+incompatible
github.com/moby/moby => github.com/moby/moby v27.0.3+incompatible
)

4
go.sum
View File

@ -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=
@ -285,6 +287,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=