27.0.0-rc.1
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
- docker/cli, 27.0.0 milestone
- moby/moby, 27.0.0 milestone
- Deprecated and removed features, see Deprecated Features.
- Changes to the Engine API, see API version history.
New
- Add support to
docker stack deploy
fordriver_opts
in a service's networks. docker/cli#5125 - containerd image store: Add
--platform
flag todocker image push
and improve the default behavior when not all platforms of the multi-platform image are available locally. docker/cli#4984, moby/moby#47679
Bug fixes and enhancements
- Fix a bug causing the docker CLI to leak UNIX sockets in
$TMPDIR
in some cases. docker/cli#5146 - Don't ignore a custom seccomp profile when used in conjunction with
--privileged
moby/moby#47500 - rootless: overlay2: support native overlay diff when using rootless-mode in kernel 5.11 and above moby/moby#47605
- Fix the
StartInterval
default value of healthcheck to reflect the documented value of 5s. moby/moby#47799 - Allow sysctls to be set per-interface during container creation and network connection. moby/moby#47686
- A ULA base prefix is automatically added to
default-address-pools
if this parameter wasn't manually configured, or if it contains no IPv6 prefixes. This ULA prefix is derived from the Engine host ID such that it's unique across hosts and over time. moby/moby#47853 - Enable
ip6tables
by default, it is no longer--experimental
. moby/moby#47747 - Introduce a new subnet allocator that can deal with IPv6 address pools of any size moby/moby#47768
- For IPv6-enabled bridge networks, do not attempt to replace the bridge's kernel-assigned link local address with
fe80::1
. moby/moby#47787 - Fix
docker save
anddocker load
not ending on the daemon side when the operation was cancelled (eg. Ctrl+C) moby/moby#47629 - Container's
StartedAt
property is now recorded before container startup, guaranteeing that theStartedAt
is always beforeFinishedAt
. moby/moby#47003 - Run an internal resolver on the default bridge network to forward DNS requests to external resolvers, even if they are on localhost addresses, or IPv6 addresses when the default bridge does not have IPv6 connectivity. To preserve existing behavior, the internal resolver on the default bridge will not resolve container names, unlike the resolver on user-defined networks. Do not use Google's DNS servers as a fallback when no external DNS servers are supplied in configuration via
--dns
or available from the host'sresolv.conf
. moby/moby#47602 - If firewalld is running on the host, create policy
docker-forwarding
to allow forwarding from any zone to thedocker
zone. This makes it possible to configure a bridge network with a routable IPv6 address, and no masquerading. moby/moby#47745 - IPv6 can now be enabled by default on all custom networks using
dockerd --default-network-opt=bridge=com.docker.network.enable_ipv6=true
(and the matching json option). moby/moby#47867 - The internal DNS resolver used by Windows containers on Windows will now forward requests to external DNS servers by-default, this enables
nslookup
to resolve external hostnames. This behaviour can be disabled viadaemon.json
, using"features": { "windows-dns-proxy": false }
, the feature flag will be removed in a future release. moby/moby#47826 - Document the use of
driver-opt
in the CLI for setting per-interface sysctls. docker/cli#4994 - Print a warning when the CLI does not have permissions to read the configuration file. docker/cli#5077
API
- containerd image store:
POST /images/{name}/push
now supports aplatform
parameter (JSON encoded OCI Platform type) that allows selecting a specific platform-manifest from the multi-platform image. This is experimental and may change in future API versions. moby/moby#47679 ContainerList
api returns container annotations. moby/moby#47866- Deprecate the daemon flag
--api-cors-header
and the corresponding daemon.json config param. These will be removed in the next major release. moby/moby#45313 - Client API callback functions
client.RequestPrivilegeFunc
,client.ImageSearchOptions.AcceptPermissionsFunc
andimage.ImportOptions.PrivilegeFunc
now require a context parameter. moby/moby#47536 - Remove deprecated
ImageImportOptions
,ImageCreateOptions
,ImagePullOptions
,ImagePushOptions
,ImageListOptions
,ImageRemoveOptions
aliases for Image types. moby/moby#47900 - Move
ExecConfig
,ContainerExecInspect
,ContainersPruneReport
,ContainerPathStat
,CopyToContainerOptions
,ExecStartCheck
andContainerStats
to api/types/container;
ImagesPruneReport
,ImageImportSource
andImageLoadResponse
to api/types/image;
ExecStartOptions
to api/types/backend;
VolumesPruneReport
to api/types/volume;
EventsOptions
to api/types/events;
ImageSearchOptions
to api/types/registry. moby/moby#47936 - Deprecate non-standard (config) fields in image inspect output. The
Config
field returned by this endpoint (used for "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.
The following fields are currently included in the API response, but are not part of the underlying image's Config, and deprecated:Hostname
Domainname
AttachStdin
AttachStdout
AttachStderr
Tty
OpenStdin
StdinOnce
Image
NetworkDisabled
(already omitted unless set)MacAddress
(already omitted unless set)StopTimeout
(already omitted unless set)
moby/moby#47941
- Drop
Network
prefix and moveNetworkCreateResponse
,NetworkConnect
,NetworkDisconnect
,NetworkInspectOptions
,EndpointResource
to api/types/network. moby/moby#47873 - Move
NetworkResource
to api/types/network. moby/moby#47887 - Drop
Network
prefix and moveNetworkListOptions
to api/types/network. moby/moby#47882 - Drop
Network
prefix and moveNetworkCreateOptions
,NetworkCreateRequest
,NetworksPruneReport
to api/types/network. moby/moby#47921
Packaging updates
- Update Buildx to v0.15.0. docker/docker-ce-packages#1025
- Update BuildKit to v0.14.0. moby/moby#47954