Docker Compose v2.35.0stable Released Apr 10, 2025
Impact Score: 7/10

Docker Compose v2.35.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-24.

Automated impact estimate - compatibility not verified
📄 .MD
⚡ Executive Summary (TL;DR)

Docker Compose v2.35.0 introduces the initial implementation of external services for the Docker Model Runner, alongside new configuration flags and volume types. Developers and DevOps teams benefit from expanded build controls, improved environment variable resolution, and critical bug fixes.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

You can now leverage external services support for Docker Model Runner and use new flags like --no-env-resolution and build --print to inspect equivalent bakefiles.

📊 Product & Engineering Leads

This release accelerates AI and machine learning workflows by laying the groundwork for Docker Model Runner integration in Compose.

⚙️ DevOps & Security

Upgrading brings important dependency updates including Docker CLI v28.0.4, buildx v0.22.0, and security vulnerability fixes in the secret detector.

✨ New Features & Capabilities (5)

  • 1st implementation of external services feature to support Docker Model Runner
  • Introduce config --no-env-resolution
  • Introduce build --print to dump equivalent bakefile
  • Add --quiet and --quiet-build options for the run command
  • Introduce volume.type=image

⚡ Performance & Enhancements (2)

  • Set $PWD environment variable
  • Set watch option --prune=true as default

🔧 Bug Fixes & Patches (11)

  • Fix support for secret set by env inside included file
  • Fix edge-case bug checking path prefix in watch for bind mount volumes
  • Run only loads required service env_file and ignores others
  • Fixed support for depends_on.restart in up and restart commands
  • Bake parses '${}' in DockerfileInline as a variable
  • Reverted secrets file mode 440 -> 444
  • Fix scale completion
  • Fix: replace docker-compose.yml with compose.yaml
  • Include implicit build dependencies in build command
  • Capture git fetch output when debug output is enabled
  • Mount API is not strictly equivalent to bind

❓ Frequently Asked Questions

Does Docker Compose v2.35.0 contain breaking changes?

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

What is the primary highlight of v2.35.0?

The primary highlight is the first implementation of external services to support the Docker Model Runner.

How should teams prepare to upgrade to v2.35.0?

Teams should review dependency bumps (such as Docker CLI v28.0.4 and Buildx v0.22.0) and test existing environment variable resolutions and secret file modes (reverted from 440 to 444) within their CI/CD pipelines.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed 🎉 1st implementation of external services feature to support Docker Model Runner in Compose by @ndeloof in https://github.com/docker/compose/pull/12692 ### ✨ Improvements * Set `$PWD` (may not be supported on Windows) by @ndeloof in https://github.com/docker/compose/pull/12643 * Introduce config `--no-env-resolution` by @ndeloof in https://github.com/docker/compose/pull/12665 * Introduce `build --print` to dump equivalent bakefile by @ndeloof in https://github.com/docker/compose/pull/12675 * Feat(run): Add `--quiet` and `--quiet-build` options for the `run` command by @idsulik in https://github.com/docker/compose/pull/12685 * Introduce `volume.type=image` by @ndeloof in https://github.com/docker/compose/pull/12725 ### 🐛 Fixes * Fix support for secret set by env inside included file by @ndeloof in https://github.com/docker/compose/pull/12635 * Fix edge-case bug checking path prefix in watch for bind mount volumes by @matiboux in https://github.com/docker/compose/pull/12640 * Run only loads required service env_file and ignores others by @ndeloof in https://github.com/docker/compose/pull/12645 * Fixed support for `depends_on.restart` in `up` and `restart` commands by @ndeloof in https://github.com/docker/compose/pull/12649 * Bake parses "${}" in DockerfileInline as a variable by @ndeloof in https://github.com/docker/compose/pull/12664 * Fix(secrets): Reverted secrets file mode 440 -> 444 by @idsulik in https://github.com/docker/compose/pull/12666 * Fix scale completion by @ndeloof in https://github.com/docker/compose/pull/12672 * Fix: replace `docker-compose.yml` with `compose.yaml` by @k-kbk in https://github.com/docker/compose/pull/12680 * Include implicit build dependencies in build command by @ndeloof in https://github.com/docker/compose/pull/12683 * Capture git fetch output when debug output is enabled by @ndeloof in https://github.com/docker/compose/pull/12719 * Mount API is not strictly equivalent to bind by @ndeloof in https://github.com/docker/compose/pull/12722 ### 🔧 Internal * Test commandName subcommand order by @maxproske in https://github.com/docker/compose/pull/12535 * Set watch option --prune=true as default by @remcokranenburg in https://github.com/docker/compose/pull/12650 * Plugin Docker Desktop Model Runner check by @glours in https://github.com/docker/compose/pull/12718 * pkg/compose: implement Export using atomicwriter by @thaJeztah in https://github.com/docker/compose/pull/12715 * Style: refactor Desktop client for readability and maintainability by @Saracomethstein in https://github.com/docker/compose/pull/12723 ### ⚙️ Dependencies * Build(deps): bump github.com/docker/buildx from `0.21.2` to `0.21.3` by @dependabot in https://github.com/docker/compose/pull/12646 * Build(deps): bump github.com/containerd/containerd/v2 from `2.0.3` to `2.0.4` by @dependabot in https://github.com/docker/compose/pull/12647 * Bump docker & cli `v28.0.4` and buildx `v0.22.0` by @ndeloof in https://github.com/docker/compose/pull/12674 * Bump golangci-lint to version `v2.0.2` by @glours in https://github.com/docker/compose/pull/12689 * Bump golang to `1.23.8` by @glours in https://github.com/docker/compose/pull/12698 * Update secret detector to fix vulnerability https://github.com/golang… by @sigi-glovebox in https://github.com/docker/compose/pull/12707 * Build(deps): bump golang.org/x/sys from `0.31.0` to `0.32.0` by @dependabot in https://github.com/docker/compose/pull/12713 * Build(deps): bump golang.org/x/sync from `0.12.0` to `0.13.0` by @dependabot in https://github.com/docker/compose/pull/12712 * Build(deps): bump github.com/compose-spec/compose-go/v2 from `2.5.1-0.20250409070949-8e1a035095ca` to `2.6.0` by @dependabot in https://github.com/docker/compose/pull/12729 ## New Contributors * @matiboux made their first contribution in https://github.com/docker/compose/pull/12640 * @k-kbk made their first contribution in https://github.com/docker/compose/pull/12680 * @sigi-glovebox made their first contribution in https://github.com/docker/compose/pull/12707 * @Saracomethstein made their first contribution in https://github.com/docker/compose/pull/12723 **Full Changelog**: https://github.com/docker/compose/compare/v2.34.0...v2.35.0