Docker Compose v2.24.7stable Released Mar 06, 2024
Impact Score: 5/10

Docker Compose v2.24.7 - 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-28.

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

Docker Compose v2.24.7 introduces the new --watch flag for the up command alongside optimizations for container scaling down. The release also includes numerous stability fixes for interpolation, environment loading, and container name validation.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

You can now use the '--watch' flag with 'docker compose up' to streamline your local development loops.

📊 Product & Engineering Leads

This release delivers crucial reliability fixes that improve the developer experience and project configuration stability.

⚙️ DevOps & Security

Ensure your deployment pipelines adopt the latest bug fixes, including proper respect for 'COMPOSE_REMOVE_ORPHANS' during 'up' operations.

✨ New Features & Capabilities (1)

  • Add --watch flag to up

⚡ Performance & Enhancements (1)

  • Optimize order of scale down when removing replicas

🔧 Bug Fixes & Patches (13)

  • Ensure stable priority sort order for networks
  • Fix interpolation with curly braces (e.g. JSON) in default values
  • Fix validation for non-unique container_name values
  • Fix validation for develop.watch
  • Fix environment loading for include
  • Fix panic when merging labels/networks
  • Support --no-path-resolution when using include
  • Fix missing project name errors
  • Force plain progress mode when ANSI disabled
  • Fix --no-interpolate flag on config
  • Workaround for file lock issues with Watch mode on Windows
  • Fix duplicate exit code status messages
  • Respect COMPOSE_REMOVE_ORPHANS on up

❓ Frequently Asked Questions

Does Docker Compose v2.24.7 contain breaking changes?

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

What is the primary highlight of v2.24.7?

The primary highlight is the introduction of the --watch flag for the up command to enhance development workflows.

How should teams prepare to upgrade to v2.24.7?

Teams can upgrade safely by reviewing their current compose files and checking that environment loading and duplicate exit code behaviors behave as expected.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed ### 🐛 Fixes * Ensure stable priority sort order for networks (#11510, #11429, compose-spec/compose-go#580) * Fix interpolation with curly braces (e.g. JSON) in default values (compose-spec/compose-go#581) * Fix validation for non-unique `container_name` values (compose-spec/compose-go#583, compose-spec/compose-go#585) * Fix validation for `develop.watch` (#11507, compose-spec/compose-go#586) * Fix environment loading for `include` (#11509, compose-spec/compose-go#582) * Fix panic when merging labels/networks (#11520, compose-spec/compose-go#584) * Support `--no-path-resolution` when using `include` (#11508, compose-spec/compose-go#579) * Fix missing project name errors (#11450, compose-spec/compose-go#578) * Force plain progress mode when ANSI disabled (#11514) * Fix `--no-interpolate` flag on `config` (#11556) * Workaround for file lock issues with Watch mode on Windows (#11513) * Fix duplicate exit code status messages (#11562) * Respect `COMPOSE_REMOVE_ORPHANS` on `up` (#11462) ### ✨ Improvements * Add `--watch` flag to `up` (#11525) * Optimize order of scale down when removing replicas (#11473) ### 🔧 Internal * Generate test summaries in CI (#11558) ### ⚙️ Dependencies * Docker v24.0.5 (#11566) * Go 1.21.8 (#11578) * compose-go v2.0.0-rc8 (#11536) ## Changelog * discard stdout for laaarge log test by @ndeloof in https://github.com/docker/compose/pull/11505 * sort containers to optimize scale down by @ndeloof in https://github.com/docker/compose/pull/11473 * ci: bump engine version to `25.0.3` by @laurazard in https://github.com/docker/compose/pull/11512 * Issue-11374: Modified compose up command to respect COMPOSE_REMOVE_ORPHANS environment variable by @batcity in https://github.com/docker/compose/pull/11462 * when ran with ANSI disabled, force progress=plain by @ndeloof in https://github.com/docker/compose/pull/11514 * Apply --quiet-pull option when creating dependencies from run command by @glours in https://github.com/docker/compose/pull/11523 * use a dedicated compose file for --quiet-pull e2e test by @glours in https://github.com/docker/compose/pull/11537 * bump compose-go to version v2.0.0-rc.8 by @glours in https://github.com/docker/compose/pull/11536 * Double check watch pid if detected as still running on Windows by @glours in https://github.com/docker/compose/pull/11513 * get log to manage `attach` by @ndeloof in https://github.com/docker/compose/pull/11542 * Remove docker cli step in ci.yml by @jhrotko in https://github.com/docker/compose/pull/11549 * restore support for `config --no-interpolate` by @ndeloof in https://github.com/docker/compose/pull/11556 * introduce --watch by @ndeloof in https://github.com/docker/compose/pull/11525 * avoid duplicated "xx exited with code 0" message by @ndeloof in https://github.com/docker/compose/pull/11562 * make code simpler by @ndeloof in https://github.com/docker/compose/pull/11535 * wip add test summary in ci by @jhrotko in https://github.com/docker/compose/pull/11558 * ci(deps): bump moby/moby & docker/cli to v25.0.4 by @milas in https://github.com/docker/compose/pull/11566 * chore(deps): upgrade go to 1.21.8 by @milas in https://github.com/docker/compose/pull/11578 ## New Contributors * @batcity made their first contribution in https://github.com/docker/compose/pull/11462 **Full Changelog**: https://github.com/docker/compose/compare/v2.24.6...v2.24.7