Docker Compose v2.27.0stable Released Apr 24, 2024
Impact Score: 6/10

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

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

Docker Compose v2.27.0 introduces new flags like `--abort-on-container-failure` and support for `build.entitlements`, alongside critical fixes for container termination and environment variable parsing. These updates improve stability during local development and CI execution.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

You can now handle container failures more predictably during startup and leverage new build entitlements.

📊 Product & Engineering Leads

Feature delivery is enhanced with better resource handling and improved reliability in multi-container setups.

⚙️ DevOps & Security

CI pipelines benefit from proper exit code capturing, reliable Ctrl-C termination behavior, and updated Go/Moby dependencies.

✨ New Features & Capabilities (3)

  • Introduce --abort-on-container-failure
  • Introduce --all-resources to not exclude resources not used by services
  • Introduce support for build.entitlements

⚡ Performance & Enhancements (3)

  • Read COMPOSE_REMOVE_ORPHANS from .env file
  • Always kills the containers on second Ctrl-C on docker compose up
  • Capture exit code for container being stopped, and return according to --exit-code-from

🔧 Bug Fixes & Patches (10)

  • Don't use ansi escape sequence when disabled
  • Ignore missing containers when compose down/stop -p
  • Fix progress timer and spinner
  • Don't clear line when navigation is disabled
  • Check container_name is not in use by another service we will create
  • Do not try to create file shares for non-directories
  • Remove overly-aggressive feature flag check
  • Avoid to try to close channel twice after hitting Ctrl-C on compose up
  • Fix support for --flag=value syntax in compatibility mode
  • Fix menu print when logs/menu number of lines change

❓ Frequently Asked Questions

Does Docker Compose v2.27.0 contain breaking changes?

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

What is the primary highlight of v2.27.0?

The primary highlights include the addition of `--abort-on-container-failure` and `--all-resources` flags, along with `build.entitlements` support and critical fixes for container termination handling.

How should teams prepare to upgrade to v2.27.0?

Teams can upgrade directly as part of routine maintenance, noting that dependencies like Moby, Go, and compose-go have been bumped for improved performance and compatibility.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed ### ✨ Improvements * Introduce `--abort-on-container-failure` [(11680)](https://github.com/docker/compose/pull/11680) * Introduce `--all-resources` to _not_ exclude resources not used by services [(11702)](https://github.com/docker/compose/pull/11702) * Introduce support for `build.entitlements` [(11708)](https://github.com/docker/compose/pull/11708) ### 🐛 Fixes * Don't use ansi espace sequence when disabled [(11682)](https://github.com/docker/compose/pull/11682) * Ignore missing containers when compose `down/stop -p` [(11692)](https://github.com/docker/compose/pull/11692) * Read `COMPOSE_REMOVE_ORPHANS` from `.env` file [(11714)](https://github.com/docker/compose/pull/11714) * Always kills the containers on second Ctrl-C on `docker compose up` [(11718)](https://github.com/docker/compose/pull/11718) * Fix progress timer and spinner [(11725)](https://github.com/docker/compose/pull/11725) * Capture exit code for container being stopped, and return according to `--exit-code-from` [(11715)](https://github.com/docker/compose/pull/11715) * Don't clear line when navigation is disabled [(11733)](https://github.com/docker/compose/pull/11733) * Check `container_name` is not in use by another service we will create [(11713)](https://github.com/docker/compose/pull/11713) * Do not try to create file shares for non-directories [(11738)](https://github.com/docker/compose/pull/11738) * Remove overly-aggressive feature flag check [(11748)](https://github.com/docker/compose/pull/11748) * Avoid to try to close channel twice after hitting Ctrl-C on `compose up` [(11719)](https://github.com/docker/compose/pull/11719) * Fix support for `--flag=value` syntax in compatibility mode [(11752)](https://github.com/docker/compose/pull/11752) * Fix menu print when logs/menu number of lines change [(11765)](https://github.com/docker/compose/pull/11765) ### 🔧 Internal * Remove dead url reference. [(11700)](https://github.com/docker/compose/pull/11700) * Fix typo in comment [(11744)](https://github.com/docker/compose/pull/11744) * Fix flaky cascade failure test [(11739)](https://github.com/docker/compose/pull/11739) ### ⚙️ Dependencies * Bump Golang version to `1.21.9` [(11684)](https://github.com/docker/compose/pull/11684) * Bump engine and cli to `v26.0.1` [(11736)](https://github.com/docker/compose/pull/11736) * Bump compose-go version to `v2.1.0` [(11756)](https://github.com/docker/compose/pull/11756) * Update to Moby `v26.1` & buildx `v0.14` [(11750)](https://github.com/docker/compose/pull/11750) * Bump Buildkit to 0.13.1 [(11762)](https://github.com/docker/compose/pull/11762) ## New Contributors * @delath made their first contribution in https://github.com/docker/compose/pull/11700 * @koooge made their first contribution in https://github.com/docker/compose/pull/11692 * @jsoriano made their first contribution in https://github.com/docker/compose/pull/11718 * @racequite made their first contribution in https://github.com/docker/compose/pull/11744 **Full Changelog**: https://github.com/docker/compose/compare/v2.26.1...v2.27.0