Docker Compose v2.34.0 - Release Notes & Engineering Impact
Component: docker-compose · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-24.
Docker Compose v2.34.0 introduces new capabilities such as file filtering in watch, environment file specification for run commands, and native publish support alongside artifact security scanning. The release also includes updates to target Go 1.23/1.24 and various bug fixes and dependency bumps.
💻 Software Engineers & Devs
You can now leverage new flags like `--env-from-file` for `docker compose run` and filter files watched with the `include` option.
📊 Product & Engineering Leads
Feature velocity increases with better OCI publishing tools and built-in secret leak detection prior to publishing artifacts.
⚙️ DevOps & Security
Ensure your build and execution environments support Go 1.23 or 1.24, and note the deprecation of the short `-y` flag in favor of `--yes`.
✨ New Features & Capabilities (4)
- Support refresh pull policy
- Introduced include to filter files considered by watch
- Introduced --env-from-file in docker compose run command
- Make publish a regular command of Compose
⚡ Performance & Enhancements (2)
- Use Defang secret-detector to identify potential secret leaks before publishing OCI artifacts
- Only load env_file after services have been selected
🔧 Bug Fixes & Patches (2)
- Fixed service: reference in additional_contexts for builds without bake
- Refuse to compose file with local include and bind mounts during publish
❓ Frequently Asked Questions
Does Docker Compose v2.34.0 contain breaking changes?
No breaking changes are explicitly documented in this release, though `--y` has been deprecated in favor of `--yes`.
What is the primary highlight of v2.34.0?
The primary highlight is the inclusion of `publish` as a regular command, along with new features like `--env-from-file` and OCI artifact secret scanning.
How should teams prepare to upgrade to v2.34.0?
Teams should verify their environments comply with the Go 1.23 or 1.24 runtime requirements and plan to update any automated scripts using the deprecated `-y` flag to use `--yes` instead.