Docker Compose v2.30.0stable Released Oct 29, 2024
Impact Score: 7/10

Docker Compose v2.30.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-26.

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

Docker Compose v2.30.0 introduces service hooks, a new export command, and alpha support for the generate command alongside numerous bug fixes and dependency updates. These additions expand container orchestration capabilities and improve overall stability when managing local environments.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

You can now leverage service hooks, raw environment file formats, and CDI device requests directly in your compose files.

📊 Product & Engineering Leads

Feature velocity is accelerated with new alpha generation tools and export commands that streamline container workflows.

⚙️ DevOps & Security

Upgrades to Docker engine v27.3.1 and compose-go improve stability, while refined timeout and restart behaviors enhance CI/CD reliability.

✨ New Features & Capabilities (5)

  • Introduce service hooks
  • Introduce generate command as alpha command
  • Add export command
  • Add support for CDI device request using devices
  • Add support for bind recursive

⚡ Performance & Enhancements (3)

  • Allow usage of -f flag with OCI Compose artifacts
  • Add support for raw env_file format
  • Convert GPUs to DeviceRequests with implicit 'gpu' capability

🔧 Bug Fixes & Patches (4)

  • Fix down command if specified services are not running
  • Fix unexpected EOF on alpha publish
  • Support Dockerfile-specific ignore-file with watch
  • Connect to external networks by name

❓ Frequently Asked Questions

Does Docker Compose v2.30.0 contain breaking changes?

No breaking changes are explicitly documented in this release.

What is the primary highlight of v2.30.0?

The primary highlights include the introduction of service hooks, a new export command, and alpha-level support for a generation command.

How should teams prepare to upgrade to v2.30.0?

Teams can upgrade routinely by reviewing the updated dependencies, such as Docker v27.3.1 and compose-go v2.4.1, and testing new service hook workflows.

📄 View Raw Release Notes (Original Developer Log)
## What's Changed ### ✨ Improvements * Introduce service hooks by @ndeloof [(12166)](https://github.com/docker/compose/pull/12166) * Introduce generate command as alpha command by @glours [(12209)](https://github.com/docker/compose/pull/12209) * Add export command by @jarqvi [(12120)](https://github.com/docker/compose/pull/12120) * Add support for CDI device request using `devices` by @ndeloof [(12184)](https://github.com/docker/compose/pull/12184) * Add support for bind recursive by @ndeloof [(12210)](https://github.com/docker/compose/pull/12210) * Allow usage of `-f` flag with OCI Compose artifacts by @glours [(12220)](https://github.com/docker/compose/pull/12220) ### 🐛 Fixes * Append unix-style relative path when computing container target path by @ndeloof [(12145)](https://github.com/docker/compose/pull/12145) * Wait for dependent service up to delay set by --wait-timeout by @ndeloof [(12156)](https://github.com/docker/compose/pull/12156) * Check secret source exists, as bind mount would create target by @ndeloof [(12151)](https://github.com/docker/compose/pull/12151) * After container restart register printer consumer by @jhrotko [(12158)](https://github.com/docker/compose/pull/12158) * Fix(down): Fix down command if specified services are not running by @idsulik [(12164)](https://github.com/docker/compose/pull/12164) * Show watch error message and open DD only when w is pressed by @jhrotko [(12165)](https://github.com/docker/compose/pull/12165) * Fix(push): Fix unexpected EOF on alpha publish by @idsulik [(12169)](https://github.com/docker/compose/pull/12169) * Fix(convergence): Serialize access to observed state by @anantadwi13 [(12150)](https://github.com/docker/compose/pull/12150) * Remove feature flag integration with Docker Desktop for ComposeUI and ComposeNav by @jhrotko [(12192)](https://github.com/docker/compose/pull/12192) * Support Dockerfile-specific ignore-file with watch by @ndeloof [(12193)](https://github.com/docker/compose/pull/12193) * Add support for raw env_file format by @ndeloof [(12179)](https://github.com/docker/compose/pull/12179) * Convert GPUs to DeviceRequests with implicit "gpu" capability by @ndeloof [(12197)](https://github.com/docker/compose/pull/12197) * Improve error message to include expected network label by @divinity76 [(12213)](https://github.com/docker/compose/pull/12213) * Don't use progress to render restart, which hides logs by @ndeloof [(12226)](https://github.com/docker/compose/pull/12226) * One-off containers are not indexed, and must be ignored by `exec --index` command by @ndeloof [(12224)](https://github.com/docker/compose/pull/12224) * Don't warn about uid/gid not being supported while ... they are by @ndeloof [(12232)](https://github.com/docker/compose/pull/12232) * Connect to external networks by name by @ndeloof [(12234)](https://github.com/docker/compose/pull/12234) * Fix push error message typo by @chris-crone [(12237)](https://github.com/docker/compose/pull/12237) * Fix(dockerignore): Add wildcard support to dockerignore.go by @idsulik [(12239)](https://github.com/docker/compose/pull/12239) ### 🔧 Internal * Remove bind options when creating a volume type by @jhrotko [(12177)](https://github.com/docker/compose/pull/12177) * pass device.options to engine by @ndeloof [(12183)](https://github.com/docker/compose/pull/12183) * Add security policy by @thaJeztah [(12194)](https://github.com/docker/compose/pull/12194) * Gha: set default permissions to "contents: read" by @thaJeztah [(12195)](https://github.com/docker/compose/pull/12195) * Desktop: allow this client to be identified via user-agent by @djs55 [(12212)](https://github.com/docker/compose/pull/12212) * Compose-go clean volume target to avoid ambiguous comparisons by @ndeloof [(12208)](https://github.com/docker/compose/pull/12208) ### ⚙️ Dependencies * Bump docker `v27.3.1` by @ndeloof [(12178)](https://github.com/docker/compose/pull/12178) * Build(deps): bump `golang.org/x/sys` from `0.25.0` to `0.26.0` by @dependabot [(12189)](https://github.com/docker/compose/pull/12189) * Bump `compose-go` to `v2.3.0` by @glours [(12198)](https://github.com/docker/compose/pull/12198) * Bump `compose-go` to `v2.4.0` by @glours [(12231)](https://github.com/docker/compose/pull/12231) * Bump `compose-go` to `v2.4.1` by @glours [(12243)](https://github.com/docker/compose/pull/12242) * Build(deps): bump github.com/containerd/containerd from 1.7.22 to 1.7.23 by @dependabot [(12211)](https://github.com/docker/compose/pull/12211) * Bump golang minimal version to `1.22` in go.mod by @glours [(12246)](https://github.com/docker/compose/pull/12246) * Bump `go.uber.org/mock` to `v0.5.0` and `google.golang.org/grpc` to `v1.67.1` by @glours [(12245)](https://github.com/docker/compose/pull/12245) ## New Contributors * @anantadwi13 made their first contribution in https://github.com/docker/compose/pull/12150 * @jarqvi made their first contribution in https://github.com/docker/compose/pull/12120 * @djs55 made their first contribution in https://github.com/docker/compose/pull/12212 * @divinity76 made their first contribution in https://github.com/docker/compose/pull/12213 **Full Changelog**: https://github.com/docker/compose/compare/v2.29.7...v2.30.0