Docker Compose v5.7.2 - Release Notes & Engineering Impact
Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-18.
Docker Compose v5.7.2 is a patch release that adds live log streaming during `up --wait` and resolves ten bugs across volume cleanup, network recreation, dry-run lifecycle hooks, and CLI flag validation. It also includes internal package refactoring and dependency updates such as `compose-go` v2.17.0 and `github.com/docker/cli` v29.10.0.
💻 Software Engineers & Devs
Developers using `docker compose up --wait`, `down -v`, `--dry-run`, or `--scale` gain live wait-time log visibility and fixes for volume retention, stopped container network recreation, and hook error reporting.
📊 Product & Engineering Leads
This routine maintenance release improves daily CLI reliability and observability during startup waits without introducing new platform capabilities.
⚙️ DevOps & Security
CI/CD and automation workflows benefit from consistent `COMPOSE_REMOVE_ORPHANS` resolution across commands, safer `down -v` volume handling when targeting specific services, and cleaner `--wait` startup logs.
⚡ Performance & Enhancements (1)
- Stream service logs in `compose up` while `--wait` waits for services to become ready.
🔧 Bug Fixes & Patches (10)
- Tell a null `manifests` from a list in OCI handling and report host failures accurately.
- Skip pure resource provider services when running `config --images`.
- Preserve volumes used by other services when running `down -v` with specific services.
- Reject empty service names in the `--scale` flag.
- Surface a provider-backed service's scale over its control channel.
- Skip lifecycle hooks during `--dry-run` instead of failing on exec attach.
- Stop inverting success status in `EventProcessor.Done` progress reporting.
- Resolve `COMPOSE_REMOVE_ORPHANS` identically across every command carrying the flag.
- Recreate a stopped container during `up` when its network has been removed.
- Include the hook name in errors when a `pre_start` hook container cannot start.
❓ Frequently Asked Questions
Does Docker Compose v5.7.2 contain breaking changes?
The v5.7.2 release notes do not explicitly document any breaking changes or required migrations, though several internal packages (such as `internal/publish`, `internal/planning`, `internal/build`, `internal/devwatch`, and `internal/e2e`) were refactored. Because breaking-change evidence is absent rather than guaranteed safe, teams importing Go packages directly should review the full diff.
What is the primary highlight of v5.7.2?
The primary user-facing enhancement is streaming service logs while `docker compose up --wait` waits for services, alongside fixes for `down -v` volume preservation, `COMPOSE_REMOVE_ORPHANS` consistency, and recreating stopped containers after network removal.
How should teams prepare to upgrade to v5.7.2?
Review workflows that rely on `up --wait` output, `down -v` with service arguments, `--scale` flags, or `COMPOSE_REMOVE_ORPHANS` to verify expected behavior, and inspect the upstream changelog between `v5.7.1` and `v5.7.2` if consuming Docker Compose as a Go dependency.