Docker Compose v2.23.0stable Released Oct 18, 2023
Impact Score: 6/10

Docker Compose v2.23.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-29.

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

Docker Compose v2.23.0 introduces dry-run support for publishing, a new COMPOSE_ENV_FILES environment variable, and sync+restart actions for compose watch. Additionally, it aligns compose ps output truncation with the Docker CLI and resolves various consistency bugs.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

You can now leverage the COMPOSE_ENV_FILES environment variable to easily specify lists of environment files and utilize sync+restart capabilities during local development watch loops.

📊 Product & Engineering Leads

This release enhances developer productivity and experience with advanced watch actions, dry-run safety checks, and better ecosystem alignment.

⚙️ DevOps & Security

Pipelines and infrastructure scripts should account for the new default truncation behavior in compose ps, using --no-trunc if full output is required.

✨ New Features & Capabilities (3)

  • Add dry-run support for publish command (#11067)
  • Add COMPOSE_ENV_FILES env variable to pass a list of env files (#11061)
  • Add sync+restart action to compose watch (#11095)

⚡ Performance & Enhancements (3)

  • Truncate compose ps output to align with Docker CLI by default and introduce --no-trunc to keep the previous behaviour (#11038)
  • Enable profile when down is ran with explicit service names (#11108)
  • Make hashes between up and configure consistent (#11010)

🔧 Bug Fixes & Patches (4)

  • Update the watch warning message when no services with a develop section (#11047)
  • Include image name in inspect error message (#11006)
  • Warn user remote resource is disabled (#11051)
  • Check that the pull policy provided is a valid one (#11109)

❓ Frequently Asked Questions

Does Docker Compose v2.23.0 contain breaking changes?

No breaking changes are explicitly documented in this release, though compose ps output is now truncated by default to align with the Docker CLI (requiring --no-trunc if full output is needed).

What is the primary highlight of v2.23.0?

The primary highlights include dry-run support for the publish command, the new COMPOSE_ENV_FILES environment variable for passing multiple environment files, and sync+restart actions for compose watch.

How should teams prepare to upgrade to v2.23.0?

Teams should review any automated scripts parsing compose ps output, as it is now truncated by default, and update scripts to use --no-trunc if the previous full-length output behavior is required.

📄 View Raw Release Notes (Original Developer Log)
## ✨ Features * Add dry-run support for publish command (#11067) * Add `COMPOSE_ENV_FILES` env variable to pass a list of env files (#11061) * Add `sync+restart` action to `compose watch` (#11095) ## 🐛 Fixes * Truncate `compose ps` output to align with Docker CLI by default and introduce `--no-trunc` to keep the previous behaviour (#11038) * Update the watch warning message when no services with a develop section (#11047) * Include image name in inspect error message (#11006) * Make hashes between `up` and `configure` consistent (#11010) * Warn user remote resource is disabled (#11051) * Enable profile when `down` is ran with explicit service names (#11108) * Check that the pull policy provided is a valid one (#11109) ## 🔧 Internal * Align OCI artifacts with upstream guidance (#11049) * remove cucumber tests as we haven't added new ones for a while (#11076) * remove refrecence docs generation (#11085) ## What's Changed * build(deps): bump google.golang.org/grpc from 1.58.1 to 1.58.2 by @dependabot in https://github.com/docker/compose/pull/11036 * truncate command by default, introduce --no-trunc flag to get the full command by @ndeloof in https://github.com/docker/compose/pull/11038 * Make tests verbose by @rumpl in https://github.com/docker/compose/pull/11045 * update the watch warning message when no services with a develop section by @glours in https://github.com/docker/compose/pull/11047 * Align OCI artifacts with upstream guidance by @neersighted in https://github.com/docker/compose/pull/11049 * Include image name in error message by @mattwalo32 in https://github.com/docker/compose/pull/11006 * deps: remove deprecated github.com/pkg/errors by @mmorel-35 in https://github.com/docker/compose/pull/11042 * Make hashes between `up` and `configure` consistent by @mattwalo32 in https://github.com/docker/compose/pull/11010 * add dry-run support for publish command by @glours in https://github.com/docker/compose/pull/11067 * add support of COMPOSE_ENV_FILES env variable to pass a list of env files by @glours in https://github.com/docker/compose/pull/11061 * remove cucumber tests as we haven't added new ones for a while by @glours in https://github.com/docker/compose/pull/11076 * remove refrecence docs generation by @glours in https://github.com/docker/compose/pull/11085 * build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in https://github.com/docker/compose/pull/11068 * build(deps): bump google.golang.org/grpc from 1.58.2 to 1.59.0 by @dependabot in https://github.com/docker/compose/pull/11105 * build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in https://github.com/docker/compose/pull/11083 * build(deps): bump github.com/containerd/containerd from 1.7.6 to 1.7.7 by @dependabot in https://github.com/docker/compose/pull/11078 * add sync+restart action to watch attribute by @glours in https://github.com/docker/compose/pull/11095 * warn user remote resource is disabled by @ndeloof in https://github.com/docker/compose/pull/11051 * enable profile when down is ran with explicit service names by @ndeloof in https://github.com/docker/compose/pull/11108 * check that the pull policy provided is a valid one by @glours in https://github.com/docker/compose/pull/11109 ## New Contributors * @neersighted made their first contribution in https://github.com/docker/compose/pull/11049 * @mattwalo32 made their first contribution in https://github.com/docker/compose/pull/11006 * @mmorel-35 made their first contribution in https://github.com/docker/compose/pull/11042 **Full Changelog**: https://github.com/docker/compose/compare/v2.22.0...v2.23.0