Docker Compose v2.24.0 - Release Notes & Engineering Impact
Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-29.
Breaking-change evidence from the source
Breaking change :warning: * service hash computation logic has been updated to fully ignore replicas/scale. Due to this change, after upgrade all services will be recreated.
Docker Compose v2.24.0 introduces a breaking change to service hash computation that forces all services to be recreated upon upgrade. Additionally, it adds powerful new operational enhancements like transitive dependency builds and log indexing for replicas.
💻 Software Engineers & Devs
You can now use 'docker compose attach', build dependencies transitively with '--with-dependencies', and target specific replica logs using '--index'.
📊 Product & Engineering Leads
Feature velocity is strong with new container stats capabilities and deeper orchestration controls that improve the local and remote development experience.
⚙️ DevOps & Security
Be aware that upgrading to this version will automatically trigger a recreation of all running services due to updated replica hash calculation logic.
⚠️ Breaking Changes & Deprecations (1)
- Breaking change :warning: * service hash computation logic has been updated to fully ignore replicas/scale. Due to this change, after upgrade all services will be recreated.
✨ New Features & Capabilities (7)
- Implement docker compose attach
- Introduce ps --orphans to include/exclude services not declared by project
- Introduce compose logs --index to select a replica container
- Introduce stats command
- Add source policies for build
- Add support for start_interval
- Add support for endpoint-specific MAC address
⚡ Performance & Enhancements (3)
- --with-dependencies let docker compose build build dependencies transitively
- Adopt compose-go/v2
- Watch: remove requirements for tar binary and for sync target to be rw
🔧 Bug Fixes & Patches (10)
- Include disabled services for shell completion
- Restore Project in ps json output
- Log we don't expose service ports when --verbose
- Fix configs are mounted under /<id>
- Fix combination of --pull always --no-build
- Fix(publish): add OCI 1.0 fallback support for AWS ECR
- Fix race condition in log printer
- Send out a cancel event on SIGINT/SIGTERM signal for compose up
- Up: teardown when command context is cancelled
- Build do not require environment to be resolved
❓ Frequently Asked Questions
Does Docker Compose v2.24.0 contain breaking changes?
Yes. The service hash computation logic has been updated to fully ignore replicas and scale, which means all services will be recreated after upgrading.
What is the primary highlight of v2.24.0?
Key highlights include the new 'docker compose attach' command, transitive dependency building with '--with-dependencies', replica log selection via '--index', and a new resource 'stats' command.
How should teams prepare to upgrade to v2.24.0?
Teams should prepare for a brief downtime or service interruption during deployment, as upgrading to v2.24.0 automatically triggers the recreation of all active containers due to the updated service hashing logic.