docker-v29.8.0
v29.8.0
29.8.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
New
- Add
HostConfig.Umaskoption and a corresponding--umask <octal>flag todocker create/docker runto set the umask for a container's main process, execs, and healthchecks. moby/moby#53463, docker/cli#7108 - Add support for attaching service names, environments, and custom CloudWatch entity attributes to logs from the
awslogslogging driver. moby/moby#52632
Security
- Add daemon support for configuring the default container AppArmor profile template. moby/moby#52771
- Prevent containers from using the 32-bit
socketcall(2)path to createAF_VSOCKsockets and communicate with host virtual machines by adding AppArmor and SELinux policy rules. moby/moby#53551
Networking
- Fix
docker network inspectfailing to find a healthy Swarm network when another Swarm network could not be allocated. moby/moby#53325 - Fix a node gossiping a superseded value for a Swarm service discovery entry after concurrent updates to the same key. moby/moby#53479
- Fix Swarm service names failing to resolve on a node indefinitely after it misses a network membership announcement. moby/moby#53437
- Fix Swarm service names failing to resolve on healthy nodes after a transient node failure. moby/moby#53142
- Prevent dockerd from hanging when the nft command produces enough stderr output to fill its pipe. moby/moby#53517
- Reduce gossip traffic generated by a node that repeatedly disconnects and rejoins the cluster. moby/moby#53479
- Remote network-driver plugins can now set the container-side interface name via the
DstNamefield in theirJoinresponse. moby/moby#52866 - Reserve network names "container" and "container:" to prevent creation of unusable networks. moby/moby#51973
- Spread the daemon's periodic Swarm overlay network gossip and synchronization work over time, avoiding recurring bursts of CPU and network usage. moby/moby#53475
- Swarm service-mesh published ports now use the same infrastructure as published ports for local containers. moby/moby#53118
Rootless
- Fix
--disable-host-loopbacknot being enforced for thepastanetwork driver in rootless mode. moby/moby#53358 - Update RootlessKit to v3.1.0, adding support for the
pestoport driver in rootless mode. SetDOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER=pestoto use it; it requires thepastanetwork driver and supports IPv4 only. moby/moby#53358
Go SDK
- Update minimum supported Go version to 1.26. docker/cli#7258
Bug fixes and enhancements
- Add
annotationfilter to container listings (docker ps,GET /containers/json) allowing to filter containers by their annotations. moby/moby#53538 - containerd image store: Fix
docker image inspectreporting a smaller image size thandocker image ls. moby/moby#53426 - containerd image store: Fix slower image pulls caused by repeated registry authentication within a single pull. moby/moby#53497
- Do not log expected image signature identity misses as errors for containerd image store images. moby/moby#53495
- dockerd now uses the embedded containerd if no system containerd service is configured and containerd is not installed. moby/moby#53388
- Fix
GET /images/{name}/jsonnot including unpacked snapshot usage inSizewhen using the containerd image store. moby/moby#53426 - Fix classic-builder cache for Dockerfile stages that select a non-host platform with
FROM --platform. moby/moby#53503 - Fix CLI panic when
DOCKER_HOSTor-Hspecifies an invalid host. docker/cli#7280 - Fix health checks being delayed for too long when the start interval is longer than the start period. moby/moby#52317
- Fix inconsistent mount ordering in
docker inspectoutput (GET /containers/{id}/json) and container listings (docker ps,GET /containers/json). moby/moby#53534 - Fix NRI container metadata so
Container.Argsincludes the resolved executable asargv[0], matching the process launched in the container instead of only the DockerCmd. moby/moby#53423 - Fix Swarm service creation failing when an automatically generated name is already in use. moby/moby#53468
- Fix the container root directory
/being world-writable when using thebtrfsstorage driver. moby/moby#53500 - Fixed
docker pssorting published ports lexicographically instead of numerically. docker/cli#7144 - Preserve service mount order during forced updates to avoid an unnecessary rollout on the next stack deploy. docker/cli#7227
- Prevent containerd's v2 CRI plugins from loading when CRI is disabled. moby/moby#53564
- Print plugin hook output (e.g. the "What's next:" hint) after the command's error message instead of before it. docker/cli#6976
- Reject checkpoint IDs containing path separators to prevent access outside the container checkpoint directory. moby/moby#53377
Packaging updates
- Update BuildKit to v0.33.0. moby/moby#53554
- Update containerd (static binaries) to v2.3.4. moby/moby#53409
- Update Go runtime to 1.26.8. moby/moby#53550, docker/cli#7274
- Update runc (in static binaries) to v1.5.1. moby/moby#52306