Docker Compose v5.1.0stable Released Feb 24, 2026
Impact Score: 4/10

Docker Compose v5.1.0 - Release Notes & Engineering Impact

Source available - automated, not human-reviewed

Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-19.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

Docker Compose v5.1.0 introduces several stability fixes including container recreation on image digest changes, post_start hook execution, and Windows path error resolutions. It also updates the Go runtime to v1.25.7 and migrates to moby modules.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Engineers working on Windows or utilizing container watch modes and post_start hooks will benefit from resolved panics and path errors.

📊 Product & Engineering Leads

This release delivers crucial bug fixes and internal modernization to improve overall feature reliability and stability.

⚙️ DevOps & Security

Operations teams can safely upgrade to benefit from updated Go runtimes, dependency bumps, and fixed CI/CD building processes.

⚡ Performance & Enhancements (3)

  • recreate container when mounted image digest changes
  • execute post_start hooks in docker compose run
  • emit container status events after network reconnection

🔧 Bug Fixes & Patches (3)

  • Fix potential nil pointer dereference in container event monitoring
  • fix panic during container event handling and watch rebuilds
  • Fix invalid path error when using OCI artifacts on Windows

❓ Frequently Asked Questions

Does Docker Compose v5.1.0 contain breaking changes?

No, there are no breaking changes explicitly documented in this release.

What is the primary highlight of v5.1.0?

The primary highlight is a collection of important bug fixes, including proper post_start hook execution, Windows OCI artifact path error fixes, and container recreation on mounted image digest changes.

How should teams prepare to upgrade to v5.1.0?

Teams can upgrade routinely as part of their standard update cycle, verifying that development and CI environments operate smoothly with the updated Go runtime and moby module dependencies.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed ### 🐛 Fixes * emit container status events after network reconnection (fixes #13524) by @MaheshThakur9152 in https://github.com/docker/compose/pull/13529 * Fix potential nil pointer dereference in container event monitoring by @Nepomuk5665 in https://github.com/docker/compose/pull/13551 * compose: recreate container when mounted image digest changes by @ibrahimypr in https://github.com/docker/compose/pull/13549 * fix panic by @ndeloof in https://github.com/docker/compose/pull/13562 * Fix invalid path error when using OCI artifacts on Windows by @mikesir87 in https://github.com/docker/compose/pull/13574 * fix: execute post_start hooks in docker compose run by @veeceey in https://github.com/docker/compose/pull/13607 * Fix panic when watch rebuilds without up by @maxproske in https://github.com/docker/compose/pull/13610 ### 🔧 Internal * fsnotify is set in Dockerfile by @ndeloof in https://github.com/docker/compose/pull/13533 * Dockerfile: update golangci-lint to v2.8.0 by @thaJeztah in https://github.com/docker/compose/pull/13535 * replace some uses of strings.Split(N) for strings.Cut by @thaJeztah in https://github.com/docker/compose/pull/13542 * Upgrade GitHub Actions to latest versions by @salmanmkc in https://github.com/docker/compose/pull/13546 * pkg/compose: remove dependency on github.com/docker/buildx/driver by @thaJeztah in https://github.com/docker/compose/pull/13563 * use Docker GitHub Builder to build and sign binaries and bin image by @crazy-max in https://github.com/docker/compose/pull/13568 * ci: fix bin-image job by @crazy-max in https://github.com/docker/compose/pull/13569 * pkg/compose: defaultNetworkSettings: refactor by @thaJeztah in https://github.com/docker/compose/pull/13580 * pkg/compose: un-export consts by @thaJeztah in https://github.com/docker/compose/pull/13584 * modernize some code by @thaJeztah in https://github.com/docker/compose/pull/13588 ### ⚙️ Dependencies * update to go1.25.7 by @thaJeztah in https://github.com/docker/compose/pull/13573 * build(deps): bump golang.org/x/sys from 0.40.0 to 0.41.0 by @dependabot[bot] in https://github.com/docker/compose/pull/13578 * build(deps): bump go.yaml.in/yaml/v4 from 4.0.0-rc.3 to 4.0.0-rc.4 by @dependabot[bot] in https://github.com/docker/compose/pull/13541 * migrate to moby modules by @thaJeztah in https://github.com/docker/compose/pull/13078 ## New Contributors * @MaheshThakur9152 made their first contribution in https://github.com/docker/compose/pull/13529 * @salmanmkc made their first contribution in https://github.com/docker/compose/pull/13546 * @Nepomuk5665 made their first contribution in https://github.com/docker/compose/pull/13551 * @ibrahimypr made their first contribution in https://github.com/docker/compose/pull/13549 * @veeceey made their first contribution in https://github.com/docker/compose/pull/13607 **Full Changelog**: https://github.com/docker/compose/compare/v5.0.2...v5.1.0