Docker Engine 26.1 release notes

This page describes the latest changes, additions, known issues, and fixes for Docker Engine version 26.1.

For more information about:

26.1.1

2024-04-30

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

Bug fixes and enhancements

  • Fix docker run -d printing an context canceled spurious error when OpenTelemetry is configured. docker/cli#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
  • 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

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

26.1.0

2024-04-22

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

New

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:

    {
      "features": {
        "windows-dns-proxy": true
      }
    }

    moby/moby#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

  • Classic builder: Fix cache miss on WORKDIR <directory>/ build step (directory with a trailing slash). moby/moby#47723

  • containerd image store: Fix docker images failing when any image in the store has unexpected target. moby/moby#47738