Docker Compose v5.8.1stable Released Nov 27, 2026
Impact Score: 4/10

Docker Compose v5.8.1 - 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-27.

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

Docker Compose v5.8.1 delivers essential reliability improvements for container lifecycle hooks and service wait logic. These updates ensure more predictable environment teardowns and improved synchronization during deployment processes.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Developers using service hooks (pre_stop) or the --wait flag for service orchestration will see improved reliability in container lifecycle management.

📊 Product & Engineering Leads

This release stabilizes core orchestration flows, ensuring that complex multi-container environments behave more consistently during updates and shutdowns.

⚙️ DevOps & Security

Engineers managing CI/CD pipelines should monitor for improved synchronization when using --wait and ensure lifecycle hooks trigger correctly during automated deployments.

✨ New Features & Capabilities (1)

  • Direct OCI artifact loading from cache

⚡ Performance & Enhancements (1)

  • Improved CLI project resolution, including strict service validation and single name precedence

🔧 Bug Fixes & Patches (6)

  • Ensured --wait and service_completed_successfully account for every replica
  • Corrected large batch synced path deletion in docker watch
  • Fixed container lifecycle handling when pre_stop hooks fail
  • Standardized execution timing of pre_stop hooks before container stoppage
  • Prevented redundant image pulling for models defined in short form
  • Added support detection for engine endpoints lacking HTTP/2

❓ Frequently Asked Questions

Does Docker Compose v5.8.1 contain breaking changes?

No. The release notes do not document any breaking changes, though updates to CLI project resolution and hook execution logic suggest users should verify their existing service definitions.

What is the primary highlight of v5.8.1?

The primary focus is on stabilizing container lifecycle operations, specifically ensuring that pre_stop hooks execute reliably and that --wait logic correctly monitors all service replicas.

How should teams prepare to upgrade to v5.8.1?

Teams should regression-test their current service lifecycle hooks (specifically pre_stop) and CI/CD pipelines that rely on the --wait flag to ensure the new behavior aligns with existing infrastructure configurations.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed ### ✨ Improvements * Feat(oci): directly load from cache if possible by @gzm0 in https://github.com/docker/compose/pull/14466 ### 🐛 Fixes * Fix(up): wait for every replica in --wait and service_completed_successfully by @Zoomish in https://github.com/docker/compose/pull/14523 * Fix(watch): delete a large batch of synced paths in several execs by @htoyoda18 in https://github.com/docker/compose/pull/14528 * Fix(hooks): stop or restart a container whose pre_stop hook cannot run by @htoyoda18 in https://github.com/docker/compose/pull/14547 * Cli: one project-resolution story - single name precedence, no swallowed load error, strict service validation by @ndeloof in https://github.com/docker/compose/pull/14151 * Fix(executor): run pre_stop hooks before the plan stops a container by @htoyoda18 in https://github.com/docker/compose/pull/14477 * Fix(models): don't pull again a model written in short form by @ndeloof in https://github.com/docker/compose/pull/14532 * Fix(jobs): treat an engine endpoint without HTTP/2 as jobs unsupported by @glours in https://github.com/docker/compose/pull/14559 * Fix(plan): run the pre_stop hooks before every stop the plan makes by @ndeloof in https://github.com/docker/compose/pull/14555 ### 🔧 Internal * E2e: forward Docker TLS environment variables to the tests by @ricardobranco777 in https://github.com/docker/compose/pull/14524 * Ci: run the e2e suite nightly against the head of Moby and Buildx by @ndeloof in https://github.com/docker/compose/pull/14548 * Ci: use the official zizmor action by @thaJeztah in https://github.com/docker/compose/pull/14556 * Refactor: give each component only the engine families it uses by @ndeloof in https://github.com/docker/compose/pull/14534 * Feat(api): Validate for the options of Logs, Events, Publish and Down by @ndeloof in https://github.com/docker/compose/pull/14515 ### ⚙️ Dependencies * Build(deps): bump peter-evans/create-pull-request from 8.1.2 to 8.1.3 by @dependabot[bot] in https://github.com/docker/compose/pull/14530 * Chore(deps): bump secrets-engine/client to v1.0.0 and drop secrets-engine/x by @Benehiko in https://github.com/docker/compose/pull/14541 * Build(deps): bump actions/setup-go from 7.0.0 to 7.1.0 by @dependabot[bot] in https://github.com/docker/compose/pull/14543 * Build(deps): bump tags.cncf.io/container-device-interface from 1.1.1 to 1.1.2 by @dependabot[bot] in https://github.com/docker/compose/pull/14537 * Build(deps): bump github.com/klauspost/compress from 1.20.0 to 1.20.5 by @glours in https://github.com/docker/compose/pull/14549 * Build(deps): bump actions/setup-go from 7.0.0 to 7.1.0 by @dependabot[bot] in https://github.com/docker/compose/pull/14554 * Build(deps): bump github.com/docker/cli from 29.10.0+incompatible to 29.10.1+incompatible by @dependabot[bot] in https://github.com/docker/compose/pull/14553 * Build(deps): bump github.com/mattn/go-shellwords from 1.0.16 to 1.0.17 by @dependabot[bot] in https://github.com/docker/compose/pull/14552 ## New Contributors * @Zoomish made their first contribution in https://github.com/docker/compose/pull/14523 * @gzm0 made their first contribution in https://github.com/docker/compose/pull/14466 **Full Changelog**: https://github.com/docker/compose/compare/v5.8.0...v5.8.1
← Older Version Docker Compose v5.8.0