mirror of https://github.com/docker/docs.git
159 lines
8.9 KiB
Markdown
159 lines
8.9 KiB
Markdown
---
|
|
title: Docker Engine 26.1 release notes
|
|
linkTitle: Engine v26.1
|
|
description: Learn about the new features, bug fixes, and breaking changes for Docker Engine
|
|
keywords: docker, docker engine, ce, whats new, release notes
|
|
toc_min: 1
|
|
toc_max: 2
|
|
---
|
|
|
|
This page describes the latest changes, additions, known issues, and fixes for Docker Engine version 26.1.
|
|
|
|
For more information about:
|
|
|
|
- Deprecated and removed features, see [Deprecated Engine Features](../deprecated.md).
|
|
- Changes to the Engine API, see [Engine API version history](/reference/api/engine/version-history.md).
|
|
|
|
## 26.1.4
|
|
|
|
{{< release-date date="2024-06-05" >}}
|
|
|
|
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
|
|
|
|
- [docker/cli, 26.1.4 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A26.1.4)
|
|
- [moby/moby, 26.1.4 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A26.1.4)
|
|
- Deprecated and removed features, see [Deprecated Features](https://github.com/docker/cli/blob/v26.1.4/docs/deprecated.md).
|
|
- Changes to the Engine API, see [API version history](https://github.com/moby/moby/blob/v26.1.4/docs/api/version-history.md).
|
|
|
|
### Security
|
|
|
|
This release updates the Go runtime to 1.21.11 which contains security fixes for:
|
|
|
|
- [CVE-2024-24789]
|
|
- [CVE-2024-24790]
|
|
- A symlink time of check to time of use race condition during directory removal reported by [Addison Crump](https://github.com/addisoncrump).
|
|
|
|
### Bug fixes and enhancements
|
|
|
|
- Fixed an issue where promoting a node immediately after another node was demoted could cause the promotion to fail. [moby/moby#47870](https://github.com/moby/moby/pull/47870)
|
|
- Prevent the daemon log from being spammed with `superfluous response.WriteHeader call ...` messages. [moby/moby#47843](https://github.com/moby/moby/pull/47843)
|
|
- Don't show empty hints when plugins return an empty hook message. [docker/cli#5083](https://github.com/docker/cli/pull/5083)
|
|
- Fix a compatibility issue with Visual Studio Container Tools. [docker/cli#5095](https://github.com/docker/cli/pull/5095)
|
|
|
|
### Packaging updates
|
|
|
|
- Update containerd (static binaries only) to [v1.7.17](https://github.com/containerd/containerd/releases/tag/v1.7.17). [moby/moby#47841](https://github.com/moby/moby/pull/47841)
|
|
- [CVE-2024-24789], [CVE-2024-24790]: Update Go runtime to 1.21.11. [moby/moby#47904](https://github.com/moby/moby/pull/47904)
|
|
- Update Compose to [v2.27.1](https://github.com/docker/compose/releases/tag/v2.27.1). [docker/docker-ce-packages#1022](https://github.com/docker/docker-ce-packaging/pull/1022)
|
|
- Update Buildx to [v0.14.1](https://github.com/docker/buildx/releases/tag/v0.14.1). [docker/docker-ce-packages#1021](https://github.com/docker/docker-ce-packaging/pull/1021)
|
|
|
|
[CVE-2024-24789]: https://github.com/golang/go/issues/66869
|
|
[CVE-2024-24790]: https://github.com/golang/go/issues/67680
|
|
|
|
## 26.1.3
|
|
|
|
{{< release-date date="2024-05-16" >}}
|
|
|
|
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
|
|
|
|
- [docker/cli, 26.1.3 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A26.1.3)
|
|
- [moby/moby, 26.1.3 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A26.1.3)
|
|
- Deprecated and removed features, see [Deprecated Features](https://github.com/docker/cli/blob/v26.1.3/docs/deprecated.md).
|
|
- Changes to the Engine API, see [API version history](https://github.com/moby/moby/blob/v26.1.3/docs/api/version-history.md).
|
|
|
|
### Bug fixes and enhancements
|
|
|
|
- Fix a regression that prevented the use of DNS servers within a `--internal` network. [moby/moby#47832](https://github.com/moby/moby/pull/47832)
|
|
- When the internal DNS server's own address is supplied as an external server address, ignore it to avoid unproductive recursion. [moby/moby#47833](https://github.com/moby/moby/pull/47833)
|
|
|
|
### Packaging updates
|
|
|
|
- Allow runc to kill containers when confined to the runc profile in AppArmor version 4.0.0 and later. [moby/moby#47829](https://github.com/moby/moby/pull/47829)
|
|
|
|
## 26.1.2
|
|
|
|
{{< release-date date="2024-05-08" >}}
|
|
|
|
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
|
|
|
|
- [docker/cli, 26.1.2 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A26.1.2)
|
|
- [moby/moby, 26.1.2 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A26.1.2)
|
|
- Deprecated and removed features, see [Deprecated Features](https://github.com/docker/cli/blob/v26.1.2/docs/deprecated.md).
|
|
- Changes to the Engine API, see [API version history](https://github.com/moby/moby/blob/v26.1.2/docs/api/version-history.md).
|
|
|
|
### Bug fixes and enhancements
|
|
|
|
- Fix an issue where the CLI process would sometimes hang when a container failed to start. [docker/cli#5062](https://github.com/docker/cli/pull/5062)
|
|
|
|
### Packaging updates
|
|
|
|
- Update Go runtime to 1.21.10. [moby/moby#47806](https://github.com/moby/moby/pull/47806)
|
|
|
|
## 26.1.1
|
|
|
|
{{< release-date date="2024-04-30" >}}
|
|
|
|
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
|
|
|
|
- [docker/cli, 26.1.1 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A26.1.1)
|
|
- [moby/moby, 26.1.1 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A26.1.1)
|
|
- Deprecated and removed features, see [Deprecated Features](https://github.com/docker/cli/blob/v26.1.1/docs/deprecated.md).
|
|
- Changes to the Engine API, see [API version history](https://github.com/moby/moby/blob/v26.1.1/docs/api/version-history.md).
|
|
|
|
### Bug fixes and enhancements
|
|
|
|
- Fix `docker run -d` printing an `context canceled` spurious error when OpenTelemetry is configured. [docker/cli#5044](https://github.com/docker/cli/pull/5044)
|
|
- Experimental environment variable `DOCKER_BRIDGE_PRESERVE_KERNEL_LL=1` will prevent the daemon from removing the kernel-assigned link local address on a Linux bridge. [moby/moby#47775](https://github.com/moby/moby/pull/47775)
|
|
- Resolve an issue preventing container creation on hosts with a read-only `/proc/sys/net` filesystem. If IPv6 cannot be disabled on an interface due to this, either disable IPv6 by default on the host or ensure `/proc/sys/net` is read-write. To bypass the error, set the environment variable `DOCKER_ALLOW_IPV6_ON_IPV4_INTERFACE=1` before starting the Docker daemon. [moby/moby#47769](https://github.com/moby/moby/pull/47769)
|
|
|
|
> [!NOTE]
|
|
>
|
|
> The `DOCKER_ALLOW_IPV6_ON_IPV4_INTERFACE` is added as a temporary fix and will be phased out in a future major release, when the IPv6 enablement process has been improved.
|
|
|
|
### Packaging updates
|
|
|
|
- Update BuildKit to [v0.13.2](https://github.com/moby/buildkit/releases/tag/v0.13.2). [moby/moby#47762](https://github.com/moby/moby/pull/47762)
|
|
- Update Compose to [v2.27.0](https://github.com/docker/compose/releases/tag/v2.27.0). [docker/docker-ce-packages#1017](https://github.com/docker/docker-ce-packaging/pull/1017)
|
|
|
|
|
|
## 26.1.0
|
|
|
|
{{< release-date date="2024-04-22" >}}
|
|
|
|
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
|
|
|
|
- [docker/cli, 26.1.0 milestone](https://github.com/docker/cli/issues?q=is%3Aclosed+milestone%3A26.1.0)
|
|
- [moby/moby, 26.1.0 milestone](https://github.com/moby/moby/issues?q=is%3Aclosed+milestone%3A26.1.0)
|
|
- Deprecated and removed features, see [Deprecated Features](https://github.com/docker/cli/blob/v26.1.0/docs/deprecated.md).
|
|
- Changes to the Engine API, see [API version history](https://github.com/moby/moby/blob/v26.1.0/docs/api/version-history.md).
|
|
|
|
### New
|
|
|
|
- Added configurable OpenTelemetry utilities and basic instrumentation to commands.
|
|
For more information, see [OpenTelemetry for the Docker CLI](https://docs.docker.com/config/otel). [docker/cli#4889](https://github.com/docker/cli/pull/4889)
|
|
|
|
### Bug fixes and enhancements
|
|
|
|
- Native Windows containers are configured with an internal DNS server for container name resolution, and external DNS servers for other lookups.
|
|
Not all resolvers, including `nslookup`, fall back to the external resolvers when they get a `SERVFAIL` answer from the internal server.
|
|
So, the internal DNS server can now be configured to forward requests to the external resolvers, by setting a `feature` option in the `daemon.json` file:
|
|
|
|
```json
|
|
{
|
|
"features": {
|
|
"windows-dns-proxy": true
|
|
}
|
|
}
|
|
```
|
|
|
|
[moby/moby#47584](https://github.com/moby/moby/pull/47584)
|
|
|
|
> [!NOTE]
|
|
>
|
|
> - This will be the new default behavior in Docker Engine 27.0.
|
|
> - The `windows-dns-proxy` feature flag will be removed in a future release.
|
|
|
|
- Swarm: Fix `Subpath` not being passed to the container config. [moby/moby#47711](https://github.com/moby/moby/pull/47711)
|
|
- Classic builder: Fix cache miss on `WORKDIR <directory>/` build step (directory with a trailing slash). [moby/moby#47723](https://github.com/moby/moby/pull/47723)
|
|
- containerd image store: Fix `docker images` failing when any image in the store has unexpected target. [moby/moby#47738](https://github.com/moby/moby/pull/47738)
|