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 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 ·
- Docker Compose v5.3.1: CI hardening and dependency updates Docker Compose Releases ·
- Docker 29.6.0: New API endpoint, image attestations, and networking fixes Docker Engine Releases ·
- Moby API v1.55.0 adds image attestations and container update options Docker Engine Releases ·
- Moby Client 0.5.0: New endpoint for image attestations Docker Engine Releases ·