Docker Compose v2.38.0stable Released Jun 30, 2025
Impact Score: 6/10

Docker Compose v2.38.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-22.

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

Docker Compose v2.38.0 introduces model support, a new volumes command, and removes publish limitations on bind mounts. Additionally, it provides numerous bug fixes improving lifecycle hooks, bake output handling, and concurrency safety.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

You can now leverage new model support and the volumes command, alongside smoother exec outputs and environment passing in bake.

📊 Product & Engineering Leads

This release expands Docker Compose's feature set with enhanced volume and model management capabilities, boosting overall developer workflow velocity.

⚙️ DevOps & Security

Upgrading brings critical dependency bumps for Docker CLI/Docker engines v28.3.0 and improves build progress tracking and container lifecycle management reliability in CI/CD pipelines.

✨ New Features & Capabilities (2)

  • introduce support for models
  • Add volumes command

⚡ Performance & Enhancements (2)

  • remove publish limitation on bind mount
  • mount /var/run/docker.sock for --use-api-socket

🔧 Bug Fixes & Patches (9)

  • only expose API socket to service asking for it
  • check progress default value instead of empty string to use BUILDKIT_PROGRESS env variable value
  • exclude provider services from the list of dependencies that Compose should wait for
  • don't fail down cmd if services with pre_stop hook already stopped/removed
  • Swap to Reader in bake to avoid hangs on output
  • make sure the post_start hooks fails
  • remove error message from exec outpout by default
  • pass project.environment to bake
  • fix provider concurrent environment map accesses

❓ Frequently Asked Questions

Does Docker Compose v2.38.0 contain breaking changes?

No breaking changes are explicitly documented in the v2.38.0 release notes.

What is the primary highlight of v2.38.0?

The primary highlights include the introduction of model support, a new volumes command, and the removal of publish limitations on bind mounts.

How should teams prepare to upgrade to v2.38.0?

Teams should review the dependency bumps for Docker CLI and Docker engine to v28.3.0 and test local build processes and lifecycle hooks against the new release.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed ### ✨ Improvements * introduce support for models by @ndeloof in https://github.com/docker/compose/pull/12976 * Add volumes command by @leoperegrino in https://github.com/docker/compose/pull/12954 * remove publish limitation on bind mount by @glours in https://github.com/docker/compose/pull/12997 * mount /var/run/docker.sock for --use-api-socket by @ndeloof in https://github.com/docker/compose/pull/12995 ### 🐛 Fixes * only expose API socket to service asking for it by @ndeloof in https://github.com/docker/compose/pull/12972 * check progress default value instead of empty string to use BUILDKIT_PROGRESS env variable value by @glours in https://github.com/docker/compose/pull/12982 * exclude provider services from the list of dependencies that Compose should wait for by @glours in https://github.com/docker/compose/pull/12983 * don't fail down cmd if services with pre_stop hook already stopped/removed by @glours in https://github.com/docker/compose/pull/12986 * Swap to Reader in bake to avoid hangs on output by @nscott in https://github.com/docker/compose/pull/12984 * make sure the post_start hooks fails by @glours in https://github.com/docker/compose/pull/12996 * remove error message from exec outpout by default by @glours in https://github.com/docker/compose/pull/12992 * fix: typos by @hezhizhen in https://github.com/docker/compose/pull/12963 * pass project.environment to bake by @ndeloof in https://github.com/docker/compose/pull/12994 * fix provider concurrent environment map accesses by @glours in https://github.com/docker/compose/pull/12999 * e2e compose run --env by @ndeloof in https://github.com/docker/compose/pull/12967 ### ⚙️ Dependencies * build(deps): bump github.com/docker/cli from 28.2.2+incompatible to 28.3.0+incompatible by @dependabot in https://github.com/docker/compose/pull/12974 * build(deps): bump github.com/docker/docker from 28.2.2+incompatible to 28.3.0+incompatible by @dependabot in https://github.com/docker/compose/pull/12975 ## New Contributors * @nscott made their first contribution in https://github.com/docker/compose/pull/12984 * @hezhizhen made their first contribution in https://github.com/docker/compose/pull/12963 * @leoperegrino made their first contribution in https://github.com/docker/compose/pull/12954 **Full Changelog**: https://github.com/docker/compose/compare/v2.37.3...v2.38.0