github moby/moby v27.0.0-rc.1

latest releases: v23.0.13, v27.0.1-rc.1, v27.0.0-rc.2...
pre-release12 days ago

27.0.0-rc.1

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

New

  • Add support to docker stack deploy for driver_opts in a service's networks. docker/cli#5125
  • containerd image store: Add --platform flag to docker 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 and docker 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 the StartedAt is always before FinishedAt. 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's resolv.conf. moby/moby#47602
  • If firewalld is running on the host, create 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 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 via daemon.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 a platform 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 and image.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 and ContainerStats to api/types/container;
    ImagesPruneReport, ImageImportSource and ImageLoadResponse 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 move NetworkCreateResponse, NetworkConnect, NetworkDisconnect, NetworkInspectOptions, EndpointResource to api/types/network. moby/moby#47873
  • Move NetworkResource to api/types/network. moby/moby#47887
  • Drop Network prefix and move NetworkListOptions to api/types/network. moby/moby#47882
  • Drop Network prefix and move NetworkCreateOptions, NetworkCreateRequest, NetworksPruneReport to api/types/network. moby/moby#47921

Packaging updates

Don't miss a new moby release

NewReleases is sending notifications on new releases.