# Docker Compose v5.1.0 - Product: Docker Compose (https://whatsnew.fyi/product/docker-compose) - Vendor: Docker - Date: 2026-02-24 - Version: v5.1.0 - Original notes: https://github.com/docker/compose/releases/tag/v5.1.0 - Permalink: https://whatsnew.fyi/product/docker-compose/releases/v5.1.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **fixed** — Emit container status events after network reconnection - **fixed** — Fix potential nil pointer dereference in container event monitoring - **fixed** — Recreate container when mounted image digest changes - **fixed** — Fix panic in compose operations - **fixed** — Fix invalid path error when using OCI artifacts on Windows - **fixed** — Execute post_start hooks in docker compose run - **fixed** — Fix panic when watch rebuilds without up - **changed** — Update Go to 1.25.7 - **changed** — Migrate to moby modules ##### 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