docker Docker Compose Releases · · 5.4.0

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