TASTE-OF-IT

Docker Engine 27.0.0 und 27.0.1veröffentlicht

Docker Logo

Docker Logo

Die Open-Source Containervirtualisierung Docker ermöglicht die Isolierung von Anwendungen in Containern und steht sowohl für Linux, Windows und MacOS zur Verfügung. Die Engine, bzw. Docker -CE erhielt Updates die Fehler korrigieren und zur Stabilität von Docker beitragen.

Eine Version 27.0.0 gibt es nicht, da den Entwicklern ein Versionierungsfehler auf GitHub unterlaufen ist. Daher startet der Docker Engine Zweig 27, direkt mit der Version 27.0.1.

Docker Engine 27.0.1 Release Notes

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

moby/moby, 27.0.0 milestoneDeprecated and removed features, see Deprecated Features.Changes to the Engine API, see API version history

New

, moby/moby#47679Add support to docker stack deploy for driver_opts in a service’s networks. docker/cli#5125Consider additional /usr/local/libexec and /usr/libexec paths when looking up the userland proxy binaries by a name with a docker- prefix. moby/moby#47804

Bug fixes and enhancements

Fix a bug causing the Docker CLI to leak Unix sockets in $TMPDIR in some cases. docker/cli#5146Don’t ignore a custom seccomp profile when used in conjunction with --privileged. moby/moby#47500rootless: overlay2: support native overlay diff when using rootless-mode with Linux kernel version 5.11 and later. moby/moby#47605Fix the StartInterval default value of healthcheck to reflect the documented value of 5s. moby/moby#47799Fix docker save and docker load not ending on the daemon side when the operation was cancelled by the user, for example with Ctrl+C. moby/moby#47629The StartedAt property of containers is now recorded before container startup, guaranteeing that the StartedAt is always before FinishedAt. moby/moby#47003The internal DNS resolver used by Windows containers on Windows now forwards requests to external DNS servers by default. This enables nslookup to resolve external hostnames. This behaviour can be disabled via daemon.json, using "features": { "windows-dns-proxy": false }. The configuration option will be removed in a future release. moby/moby#47826Print a warning when the CLI does not have permissions to read the configuration file. docker/cli#5077Fix a goroutine and file-descriptor leak on container attach. moby/moby#45052Clear the networking state of all stopped or dead containers during daemon start-up. moby/moby#47984Write volume options JSON atomically to avoid „invalid JSON“ errors after system crash. moby/moby#48034Allow multiple macvlan networks with the same parent. moby/moby#47318Allow BuildKit to be used on Windows daemons that advertise it. docker/cli#5178

Networking

IPv6

IPv6 network configuration improvements

IPv6 address pools of any size can now be added to default-address-pools. moby/moby#47768IPv6 can now be enabled by default on all custom bridge networks using "default-network-opts": { "bridge": {"com.docker.network.enable_ipv6": "true"}} in daemon.json, or dockerd --default-network-opt=bridge=com.docker.network.enable_ipv6=trueon the comand line. moby/moby#47867Direct routing for IPv6 networks, with ip6tables enabled. moby/moby#47871

If firewalld is running on the host, Docker creates policy docker-forwarding to allow forwarding from any zone to the docker zone. This makes it possible to configure a bridge network with a routable IPv6 address, and no NAT or masquerading. moby/moby#47745When a port is published with no host port specified, or a host port range is given, the same port will be allocated for IPv4 and IPv6. moby/moby#47871

Environment variable DOCKER_ALLOW_IPV6_ON_IPV4_INTERFACE, introduced in release 26.1.1, no longer has any effect. moby/moby#47963

For IPv6-enabled bridge networks, do not attempt to replace the bridge’s kernel-assigned link local address with fe80::1. moby/moby#47787

Removed

, docker/cli#5172pkg/archive: deprecate NewTempArchive and TempArchive. These types were only used in tests and will be removed in the next release. moby/moby#48002pkg/archive: deprecate CanonicalTarNameForPathmoby/moby#48001Deprecate pkg/dmesg. This package was no longer used, and will be removed in the next release. moby/moby#47999Deprecate pkg/stringid.ValidateID and pkg/stringid.IsShortIDmoby/moby#47995runconfig: deprecate SetDefaultNetModeIfBlank and move ContainerConfigWrapper to api/types/containermoby/moby#48007runconfig: deprecate DefaultDaemonNetworkMode and move to daemon/networkmoby/moby#48008runconfig: deprecate opts.ConvertKVStringsToMap. This utility is no longer used, and will be removed in the next release. moby/moby#48016runconfig: deprecate IsPreDefinedNetwork. moby/moby#48011

API

POST /services/create and POST /services/{id}/update now support OomScoreAdj. moby/moby#47950ContainerList api returns container annotations. moby/moby#47866POST /containers/create and POST /services/create now take Options as part of HostConfig.Mounts.TmpfsOptions allowing to set options for tmpfs mounts. moby/moby#46809The Healthcheck.StartInterval property is now correctly ignored when updating a Swarm service using API versions less than v1.44. moby/moby#47991GET /events now supports image create event that is emitted when a new image is built regardless if it was tagged or not. moby/moby#47929GET /info now includes a Containerd field containing information about the location of the containerd API socket and containerd namespaces used by the daemon to run containers and plugins. moby/moby#47239Deprecate non-standard (config) fields in image inspect output. The Config field returned by this endpoint (used for docker image inspect) returned additional fields that are not part of the image’s configuration and not part of the Docker Image Spec and the OCI Image Spec. These fields are never set (and always return the default value for the type), but are not omitted in the response when left empty. As these fields were not intended to be part of the image configuration response, they are deprecated, and will be removed in the future API versions.Deprecate the daemon flag --api-cors-header and the corresponding daemon.json configuration option. These will be removed in the next major release. moby/moby#45313

The following deprecated fields are currently included in the API response, but are not part of the underlying image’s Config: moby/moby#47941

Go SDK changes

Remove deprecated aliases for Image types. moby/moby#47900

Introduce Ulimit type alias for github.com/docker/go-units.Ulimit. The Ulimit type as used in the API is defined in a Go module that will transition to a new location in future. A type alias is added to reduce the friction that comes with moving the type to a new location. The alias makes sure that existing code continues to work, but its definition may change in future. Users are recommended to use this alias instead of the units.Ulimit directly. moby/moby#48023Move and rename types, changing their import paths and exported names. moby/moby#47936, moby/moby#47873, moby/moby#47887, moby/moby#47882, moby/moby#47921, moby/moby#48040

Packaging updates

. docker/docker-ce-packaging#1029Update BuildKit to v0.14.1. moby/moby#48028Update runc to v1.1.13moby/moby#47976Update Compose to v2.28.1. moby/docker-ce-packaging#1032

27.0.0

There’s no 27.0.0 release due to a mistake during the pre-release of 27.0.0-rc.1 on GitHub which resulted in the v27.0.0 tag being created. Unfortunately the tag was already picked up by the Go Module Mirror so it’s not possible to cleanly change the v27.0.0. To workaround this, the 27.0.1 will be the first release of the 27.0.

Die mobile Version verlassen