- Added `volume.type=image` to provide more flexible volume management for container images
- Added `--quiet` options to the `run` command for cleaner output when running containers
- Added `config --no-env-resolution` option to view raw configuration without environment variable substitution
- Fixed behavior of `depends_on` to prevent unnecessary container recreation when dependencies change
- Fixed support for secrets defined by environment variables when using `include`
- Fixed volume mount handling to ensure bind mounts work correctly in all scenarios
### Update
- Dependencies upgrade: bump docker engine and cli to v28.1.0
- Dependencies upgrade: bump buildx to v0.23.0
- Dependencies upgrade: bump buildkit to v0.21.0
## 2.34.0
{{< release-date date="2025-03-14" >}}
### Bug fixes and enhancements
- Added support of refresh `pull_policy` values `daily`, `weekly` and `every_<duration>`
- Introduced `include` attribut to `watch` definition to match file patterns
- Introduced `--env-from-file` in flag for the `docker compose run` command
- Promoted `publish` as a regular command of Compose
- Fixed a bug by loading `env_file` after services have been selected
### Update
- Dependencies upgrade: bump docker engine and cli to v28.0.1
- Dependencies upgrade: bump buildkit to v0.17.1
- Dependencies upgrade: Bump compose-go v2.4.9
- Dependencies upgrade: Bump buildx v0.21.2
## 2.33.1
{{< release-date date="2025-02-21" >}}
### Bug fixes and enhancements
- Added support for `gw_priority`, `enable_ipv4` (requires Docker v28.0)
- Fixed an issue with the navigation menu
- Improved error message when using non-file secret/config with read-only service
### Update
- Dependencies upgrade: bump docker engine and cli to v28.0.0
## 2.33.0
{{< release-date date="2025-02-13" >}}
### Bug fixes and enhancements
- Introduced a hint to promote the use of [Bake](/build/bake/)
- Introduced support for the `additional_context` attribute referencing another service
- Added support for `BUILDKIT_PROGRESS`
- Compose now warns you when a published Compose application includes environment variables
- Added a `--with-env` flag to publish a Compose application with environment variables
- Updated `ls --quiet` help description
- Fixed multiple issues delegating build to Bake
- Updated help in `stats` command
- Fixed support for "builtin" seccomp profile
- Fixed support for `watch` with multiple services
- Removed exit code per error type used by legacy metrics system
- Fixed test coverage for `compatibility`
- Removed raw os.Args sent to OpenTelemetry
- Enabled copyloopvar linter
- Fixed provenance for binaries and generate SBOM
- Main branch for docs upstream validation is now used
- Added codeowners file
- Added Docker Engine v28.x to the test-matrix
### Update
- Dependencies upgrade: Bump compose-go v2.4.8
- Dependencies upgrade: Bump buildx v0.20.1
- Dependencies upgrade: Bump docker to v27.5.1
- Dependencies upgrade: Bump golangci-lint to v1.63.4
- Dependencies upgrade: Bump golang.org/x/sys from 0.28.0 to 0.30.0
- Dependencies upgrade: Bump github.com/moby/term v0.5.2
- Dependencies upgrade: Bump github.com/otiai10/copy from 1.14.0 to 1.14.1
- Dependencies upgrade: Bump github.com/jonboulle/clockwork from 0.4.0 to 0.5.0
- Dependencies upgrade: Bump github.com/spf13/pflag from 1.0.5 to 1.0.6
- Dependencies upgrade: Bump golang.org/x/sync from 0.10.0 to 0.11.0
- Dependencies upgrade: Bump gotest.tools/v3 from 3.5.1 to 3.5.2
## 2.32.4
{{< release-date date="2025-01-16" >}}
### Bug fixes and enhancements
- Fixed an issue where the Compose version did not display properly when using `docker compose version`
## 2.32.3
{{< release-date date="2025-01-13" >}}
> [!NOTE]
>
> Binaries from the Compose GitHub repository may not display the version number properly. If you rely on `docker compose version`
> in your development or CI processes, upgrade to Compose version 2.32.4.
### Bug fixes and enhancements
- Fixed an issue where Compose would override a service-level MAC address with the main network MAC address