28.3.0
28.3.0
28.3.0
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
- docker/cli, 28.3.0 milestone
- moby/moby, 28.3.0 milestone
- Deprecated and removed features, see Deprecated Features.
- Changes to the Engine API, see API version history.
New
- Add support for AMD GPUs in
docker run --gpus. moby/moby#49952 - Use
DOCKER_AUTH_CONFIGas a credential store. docker/cli#6008
Bug fixes and enhancements
- Ensure that the state of the container in the daemon database (used by /containers/json API) is up to date when the container is stopped using the /containers/{id}/stop API (before response of API). moby/moby#50136
- Fix
docker image inspect inspectomitting empty fields. moby/moby#50135 - Fix
docker images --treenot marking images as in-use when the containerd image store is disabled. docker/cli#6140 - Fix
docker pull/pushhang in non-interactive when authentication is required caused by prompting for login credentials. docker/cli#6141 - Fix a potential resource leak when a node leaves a Swarm. moby/moby#50115
- Fix a regression where a login prompt on
docker pullwould show Docker Hub-specific hints when logging in on other registries. docker/cli#6135 - Fix an issue where all new tasks in the Swarm could get stuck in the PENDING state forever after scaling up a service with placement preferences. moby/moby#50211
- Remove an undocumented, hidden, top-level
docker removecommand that was accidentally introduced in Docker 23.0. docker/cli#6144 - Validate registry-mirrors configuration as part of
dockerd --validateand improve error messages for invalid mirrors. moby/moby#50240 dockerd-rootless-setuptool.sh: Fix the script from silently returning with no error message when subuid/subgid system requirements are not satisfied. moby/moby#50059- containerd image store: Fix
docker pushnot creating a tag on the remote repository. moby/moby#50199 - containerd image store: Improve handling of errors returned by the token server during
docker pull/push. moby/moby#50176
Packaging updates
- Allow customizing containerd service name for OpenRC. moby/moby#50156
- Update BuildKit to v0.23.1. moby/moby#50243
- Update Buildx to v0.25.0. docker/docker-ce-packaging#1217
- Update Compose to v2.37.2. docker/docker-ce-packaging#1219
- Update Docker Model CLI plugin to v0.1.30. docker/docker-ce-packaging#1218
- Update Go runtime to 1.24.4. docker/docker-ce-packaging#1213, moby/moby#50153, docker/cli#6124
Networking
- Revert Swarm related changes added in 28.2.x builds, due to a regression reported in https://github.com/moby/moby/issues/50129. moby/moby#50169
- Revert: Fix an issue where
docker network inspect --verbosecould sometimes crash the daemon (https://github.com/moby/moby/pull/49937). - Revert: Fix an issue where the load-balancer IP address for an overlay network would not be released in certain cases if the Swarm was lacking an ingress network (https://github.com/moby/moby/pull/49948).
- Revert: Improve the reliability of NetworkDB in busy clusters and lossy networks (https://github.com/moby/moby/pull/49932).
- Revert: Improvements to the reliability and convergence speed of NetworkDB (https://github.com/moby/moby/pull/49939).
- Revert: Fix an issue where
- Fix an issue that could cause container startup to fail, or lead to failed UDP port mappings, when some container ports are mapped to
0.0.0.0and others are mapped to specific host addresses. moby/moby#50054 - The
network inspectresponse for an overlay network now reports thatEnableIPv4is true. moby/moby#50147 - Windows: Improve daemon startup time in cases where the host has networks of type
"Mirrored". moby/moby#50155 - Windows: Make sure
docker system pruneanddocker network pruneonly remove networks created by Docker. moby/moby#50154
API
- Update API version to 1.51. moby/moby#50145
GET /images/jsonnow sets the value of theContainersfield for all images to the count of containers using the image. moby/moby#50146
Deprecations
- Empty/nil image config fields in the
GET /images/{name}/jsonresponse are now deprecated and will be removed in v29.0. docker/cli#6129 - api/types/container: deprecate
ExecOptions.Detach. This field is not used, and will be removed in a future release. moby/moby#50219 - pkg/idtools: deprecate
IdentityMappingandIdentity.Chown. moby/moby#50210