Docker Compose v2.27.0 - Release Notes & Engineering Impact
Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-28.
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.
💻 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.