Docker Compose v5.3.0 Adds Init Containers
infraengineer
patch
Docker Compose v5.3.0 introduces native support for init containers, allowing for sequential execution of setup tasks before main services start. This enhancement provides better control over service startup order and dependency management. This update affects users who manage complex application lifecycles with Docker Compose. The release also includes several bug fixes and internal migrations.
- →Pre start init containers by @glours in https://github.com/docker/compose/pull/13862
- →Fix(oci): route authorizer token fetches through provided transport by @glours in https://github.com/docker/compose/pull/13873
- →Fix(run): scope Running events to project.Services by @glours in https://github.com/docker/compose/pull/13883
- →Chore: migrate cagent-action to docker-agent-action (v2.0.0) by @docker-agent in https://github.com/docker/compose/pull/13869
- →Chore: migrate to docker-agent-action v2.0.1 by @docker-agent in https://github.com/docker/compose/pull/13872
Enhancements (1) ›
- Pre start init containers by @glours in https://github.com/docker/compose/pull/13862
Fixes (2) ›
- Fix(oci): route authorizer token fetches through provided transport by @glours in https://github.com/docker/compose/pull/13873
- Fix(run): scope Running events to project.Services by @glours in https://github.com/docker/compose/pull/13883
Maintenance (5) ›
- Chore: migrate cagent-action to docker-agent-action (v2.0.0) by @docker-agent in https://github.com/docker/compose/pull/13869
- Chore: migrate to docker-agent-action v2.0.1 by @docker-agent in https://github.com/docker/compose/pull/13872
- Fix(reconcile): hash resolved service refs to match executor by @glours in https://github.com/docker/compose/pull/13880
- Fix(compose/port): show private port in portNotFoundError message by @vmphase in https://github.com/docker/compose/pull/13875
- Fix(run): normalize --no-TTY flag to --no-tty by @nickjj in https://github.com/docker/compose/pull/13885
Read the original announcement →
https://github.com/docker/compose/releases/tag/v5.3.0
Related releases
- Docker v29.7.1 addresses image pull and CopyToContainer regressions Docker Engine Releases ·
- Docker 29.7.0: Embedded containerd, security fix, and numerous enhancements Docker Engine Releases ·
- Moby Client v0.5.1: Fixes for service platforms and query arguments Docker Engine Releases ·
- Docker Engine v29.6.2: Security fixes and dependency updates Docker Engine Releases ·
- Docker Compose v5.2.0 releases with new reconciliation algorithm Docker Compose Releases ·
- Docker Engine 29.6.1 addresses security vulnerabilities and updates components Docker Engine Releases ·