Docker Compose v5.4.0 enhances resource reconciliation and fixes bugs
infra
patch
Docker Compose v5.4.0 introduces a new reconciliation model for resources like volumes and networks, improving how Compose manages your application's infrastructure. The release also includes several bug fixes, such as preserving zero-replica services during hashing and warning when service selection is ignored. These changes primarily affect developers and architects using Docker Compose for defining and managing multi-container applications, with the new reconciliation logic being a key feature.
- →Feat(reconcile): model volume recreation in the plan by @ndeloof in https://github.com/docker/compose/pull/13962
- →Feat(reconcile): model network lifecycle in the plan by @ndeloof in https://github.com/docker/compose/pull/13966
- →Fix(reconcile): preserve zero-replica services during hashing by @junhaoliao in https://github.com/docker/compose/pull/13931
- →Fix(config): warn when service selection is silently ignored by @glours in https://github.com/docker/compose/pull/13950
- →Fix(build): use platform image-manifest digest, not attested index by @glours in https://github.com/docker/compose/pull/13949
Enhancements (2) ›
- Feat(reconcile): model volume recreation in the plan by @ndeloof in https://github.com/docker/compose/pull/13962
- Feat(reconcile): model network lifecycle in the plan by @ndeloof in https://github.com/docker/compose/pull/13966
Fixes (10) ›
- Fix(reconcile): preserve zero-replica services during hashing by @junhaoliao in https://github.com/docker/compose/pull/13931
- Fix(config): warn when service selection is silently ignored by @glours in https://github.com/docker/compose/pull/13950
- Fix(build): use platform image-manifest digest, not attested index by @glours in https://github.com/docker/compose/pull/13949
- Fix(oci): honor --insecure-registry when up re-loads the model by @ptrdom in https://github.com/docker/compose/pull/13894
- Fix(config): pin type:image volume sources and pre_start hook images by @glours in https://github.com/docker/compose/pull/13956
- Tolerate missing env file on more runtime commands by @maxproske in https://github.com/docker/compose/pull/13603
- Resolve pre_start hook images alongside service images by @ndeloof in https://github.com/docker/compose/pull/13937
- Fix(cp): return non-nil Content from dry-run CopyFromContainer by @glours in https://github.com/docker/compose/pull/13982
Fix(config): apply config flags to --services/--volumes/--networks/--models/--hash by @glours in https://github.com/docker/compose/pull/13979
- Fix: tolerate missing env file on scale, watch and shell completion by @glours in https://github.com/docker/compose/pull/13973
Maintenance (5) ›
- README: remove Go Report Card badge by @thaJeztah in https://github.com/docker/compose/pull/13926
- Docs: adopt AGENTS.md standard, symlink CLAUDE.md to it by @glours in https://github.com/docker/compose/pull/13871
- Dockerfile: update golang image to alpine 3.23 by @thaJeztah in https://github.com/docker/compose/pull/13921
- Docs: require dated AI_AGENT_DISCLOSURE.md, drop committed copy by @glours in https://github.com/docker/compose/pull/13976
- CI: publish images to Docker Hub using OIDC by @glours in https://github.com/docker/compose/pull/13994
Read the original announcement →
https://github.com/docker/compose/releases/tag/v5.4.0
Related releases
- Docker Engine (moby/moby) v25.0.17 Patch Release Addresses Multiple CVEs Docker Engine Releases ·
- Moby Project v25.0.16 Patches CVEs and Fixes Image Store Bug Docker Engine Releases ·
- Docker Engine 29.7.2 addresses panics, image pull regressions, and networking issues Docker Engine Releases ·
- Docker v29.7.1 addresses image pull and CopyToContainer regressions Docker Engine Releases ·
- Docker 29.7.0: Embedded containerd, security fix, and numerous enhancements Docker Engine Releases ·
- Moby Client v0.5.1: Fixes for service platforms and query arguments Docker Engine Releases ·