cuddly-jelly-27016
08/14/2025, 2:46 PM## v28.0.0
# 28.0.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
• docker/cli, 28.0.0 milestone
• moby/moby, 28.0.0 milestone
• Deprecated and removed features, see Deprecated Features.
• Changes to the Engine API, see API version history.
## New
• Add ability to mount an image inside a container via. moby/moby#48798--mount type=image
• You can also specifyoption to mount a specific path from the image. docker/cli#5755--mount type=image,image-subpath=[subpath],...
•now shows metadata badges. docker/cli#5744docker images --tree
•,docker load, anddocker savenow support adocker historyflag allowing you to choose a specific platform for single-platform operations on multi-platform images. docker/cli#5331--platform
• AddtoOOMScoreAdjanddocker service create. docker/cli#5145docker stack
•now supportsdocker buildx prune,reserved-space,max-used-spaceandmin-free-spacefilters. moby/moby#48720keep-bytes
• Windows: Add support for running containerd as a child process of the daemon, instead of using a system-installed containerd. moby/moby#47955
## Networking
• Thebinary has been updated, older versions will not work with the updateddocker-proxy. moby/moby#48132dockerd
• Close a window in which the userland proxy () could accept TCP connections, that would then fail afterdocker-proxyNAT rules were set up.iptables
• The executableis no longer used, it has been removed from the build and distribution.rootlesskit-docker-proxy
• DNS nameservers read from the host'sare now always accessed from the host's network namespace. moby/moby#48290/etc/resolv.conf
• When the host'scontains no nameservers and there are no/etc/resolv.confoverrides, Google's DNS servers are no longer used, apart from by the default bridge network and in build containers.--dns
• Container interfaces in bridge and macvlan networks now use randomly generated MAC addresses. moby/moby#48808
• Gratuitous ARP / Neighbour Advertisement messages will be sent when the interfaces are started so that, when IP addresses are reused, they're associated with the newly generated MAC address.
• IPv6 addresses in the default bridge network are now IPAM-assigned, rather than being derived from the MAC address.
• The deprecated OCIhook is now only used by build containers. For other containers, network interfaces are added to the network namespace after task creation is complete, before the container task is started. moby/moby#47406prestart
• Add a newoption togw-priority,docker run, anddocker container create. This option will be used by the Engine to determine which network provides the default gateway for a container. Ondocker network connect, this option is only available through the extendeddocker runsyntax. docker/cli#5664--network
• Add a new netlabelto customize the interface name used when connecting a container to a network. It's supported by all built-in network drivers on Linux. moby/moby#49155com.docker.network.endpoint.ifname
• When a container is created with multiple networks specified, there's no guarantee on the order networks will be connected to the container. So, if a custom interface name uses the same prefix as the auto-generated names, for example, the container might fail to start.eth
• The recommended practice is to use a different prefix, for example, or a numerical suffix high enough to never collide, for exampleen0.eth100
• This label can be specified onvia thedocker network connectflag, for example--driver-opt.docker network connect --driver-opt=com.docker.network.endpoint.ifname=foobar …
• Or via the long-formflag on--network, for exampledocker rundocker run --network=name=bridge,driver-opt=com.docker.network.endpoint.ifname=foobar …
• If a custom network driver reports capabilitythen, before a network is created, it will get aGwAllocCheckerwith the network's options. The custom driver may then reply that no gateway IP address should be allocated. moby/moby#49372GwAllocCheckerRequest
## Port publishing in bridge networks
•now requiresdockerdsupport in the Linux kernel. moby/moby#48596ipset
• Theandiptablesrules used to implement port publishing and network isolation have been extensively modified. This enables some of the following functional changes, and is a first step in refactoring to enable nativeip6tablessupport in a future release. moby/moby#48815nftables
• If it becomes necessary to downgrade to an earlier version of the daemon, some manual cleanup of the new rules will be necessary. The simplest and surest approach is to reboot the host, or useandiptables -Fto flush all existingip6tables -Frules from theiptablestable before starting the older version of the daemon. When that is not possible, run the following commands as root:filter
•iptables -D FORWARD -m set --match-set docker-ext-bridges-v4 dst -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT; ip6tables -D FORWARD -m set --match-set docker-ext-bridges-v6 dst -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
•iptables -D FORWARD -m set --match-set docker-ext-bridges-v4 dst -j DOCKER; ip6tables -D FORWARD -m set --match-set docker-ext-bridges-v6 dst -j DOCKER
• If you were previously running with the iptables filter-FORWARD policy set toand need to restore access to unpublished ports, also delete per-bridge-network rules from theACCEPTchains. For example,DOCKER.iptables -D DOCKER ! -i docker0 -o docker0 -j DROP
• Fix a security issue that was allowing remote hosts to connect directly to a container on its published ports. moby/moby#49325
• Fix a security issue that was allowing neighbor hosts to connect to ports mapped on a loopback address. moby/moby#49325... (truncated) Commits •
af898ab Merge pull request #49495 from vvoland/update-buildkit
• d67f035 vendor: <http://github.com/moby/buildkit|github.com/moby/buil…
flyteorg/flytecuddly-jelly-27016
08/23/2025, 3:09 AM