compose/docs/reference
Guillaume Lours ed25575984 fix(up): keep handling Ctrl+C once the log monitor has ended
Once every attached container is gone the monitor ends the session, and
with it the event loop that handles Ctrl+C: later interruptions are lost.

During --wait that left the stack running on exit 130: end the wait
without canceling, and stop the stack from there when the loop is gone.
During the start phase, blocked on dependencies of unattached services,
the signal was swallowed and the command hung: keep the session open.

Add tests for both and document that --wait leaves the services up.
Keep an api test valid now that Wait is accepted together with Attach.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
2026-11-17 09:35:33 +01:00
..
compose.md feat(build): pass parallel limit to bake as --jobs 2026-10-28 09:07:10 +01:00
compose_alpha.md
compose_alpha_dry-run.md docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
compose_alpha_generate.md introduce generate command as alpha command 2024-10-28 17:00:59 +01:00
compose_alpha_scale.md docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
compose_alpha_viz.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_alpha_watch.md move watch from alpha to main command 2023-09-20 18:55:08 +02:00
compose_attach.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_bridge.md add new bridge commands documentation 2025-05-27 10:35:30 +02:00
compose_bridge_convert.md fix(bridge): confirm before wiping non-empty convert output dir 2026-09-03 14:38:41 +02:00
compose_bridge_transformations.md add new bridge commands documentation 2025-05-27 10:35:30 +02:00
compose_bridge_transformations_create.md add new bridge commands documentation 2025-05-27 10:35:30 +02:00
compose_bridge_transformations_list.md add new bridge commands documentation 2025-05-27 10:35:30 +02:00
compose_build.md show build progress during watch rebuild 2025-07-23 13:57:46 +02:00
compose_commit.md feat: add commit command 2024-11-27 07:39:46 +01:00
compose_config.md feat: add --models flag to config command 2025-07-11 11:08:08 +02:00
compose_cp.md resurrect --all flag for cp to target oneoff container 2024-10-25 16:59:19 +02:00
compose_create.md deprecate --y, prefer --yes 2025-03-11 09:01:36 +01:00
compose_down.md docs(hooks): document pre_start hook container retention and cleanup 2026-08-20 18:57:02 +02:00
compose_events.md feat: add since & until flags to events command 2025-07-09 10:08:33 +02:00
compose_exec.md Change verb tense in compose command documentation 2026-05-06 21:02:56 +02:00
compose_export.md feat: add export command 2024-10-02 21:15:59 +02:00
compose_images.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_kill.md docs: Update docker compose kill usage 2024-08-05 07:41:53 +02:00
compose_logs.md docs: compose logs: add more links for flag descriptions 2026-06-10 09:36:31 +02:00
compose_ls.md Fix ls --quiet help description 2025-02-10 17:30:39 +01:00
compose_pause.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_port.md PRIVATE_PORT optional for docker compose port 2026-09-11 11:35:18 +02:00
compose_ps.md fix(ps): honor psFormat from Docker CLI config when no --format flag given 2026-08-20 14:05:34 +02:00
compose_publish.md publish Compose application as compose.yaml + images 2025-10-03 10:59:57 +02:00
compose_pull.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_push.md feat(push): deprecate --ignore-push-failures in favor of --ignore-missing 2026-10-16 18:08:20 +02:00
compose_restart.md Update link in stats --help output 2025-02-04 18:12:17 +01:00
compose_rm.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_run.md feat(run): --no-recreate reuses existing dependencies as-is 2026-10-14 09:34:19 +02:00
compose_scale.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_start.md add --wait option to start command 2025-12-01 11:58:00 +01:00
compose_stats.md feat(stats): add --all-projects and --aggregate flags 2026-10-15 06:41:29 +02:00
compose_stop.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_top.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_unpause.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_up.md fix(up): keep handling Ctrl+C once the log monitor has ended 2026-11-17 09:35:33 +01:00
compose_version.md update docs generation to avoid man pages generation 2024-07-17 13:01:51 +02:00
compose_volumes.md add volumes docs/reference/ 2025-06-30 19:38:27 +02:00
compose_wait.md docs(wait): Fix wait command description 2024-08-19 10:44:57 +02:00
compose_watch.md Set watch option --prune=true as default 2025-03-19 17:48:05 +01:00
docker_compose.yaml feat(build): pass parallel limit to bake as --jobs 2026-10-28 09:07:10 +01:00
docker_compose_alpha.yaml chore: remove duplicate 'publish' registration under 'alpha' 2026-09-30 14:47:12 +02:00
docker_compose_alpha_dry-run.yaml
docker_compose_alpha_generate.yaml bump cli-doc-tools to v0.10.0 2025-05-26 16:37:45 +02:00
docker_compose_alpha_scale.yaml add scale command 2023-09-13 11:15:14 +02:00
docker_compose_alpha_viz.yaml bump cli-doc-tools to v0.10.0 2025-05-26 16:37:45 +02:00
docker_compose_alpha_watch.yaml move watch from alpha to main command 2023-09-20 18:55:08 +02:00
docker_compose_attach.yaml docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
docker_compose_bridge.yaml fix(compose): reject unknown subcommands under bridge/transformations 2026-08-31 17:08:47 +02:00
docker_compose_bridge_convert.yaml fix(bridge): confirm before wiping non-empty convert output dir 2026-09-03 14:38:41 +02:00
docker_compose_bridge_transformations.yaml fix(compose): reject unknown subcommands under bridge/transformations 2026-08-31 17:08:47 +02:00
docker_compose_bridge_transformations_create.yaml add new bridge commands documentation 2025-05-27 10:35:30 +02:00
docker_compose_bridge_transformations_list.yaml add new bridge commands documentation 2025-05-27 10:35:30 +02:00
docker_compose_build.yaml show build progress during watch rebuild 2025-07-23 13:57:46 +02:00
docker_compose_commit.yaml feat: add commit command 2024-11-27 07:39:46 +01:00
docker_compose_config.yaml feat: add --models flag to config command 2025-07-11 11:08:08 +02:00
docker_compose_convert.yaml
docker_compose_cp.yaml resurrect --all flag for cp to target oneoff container 2024-10-25 16:59:19 +02:00
docker_compose_create.yaml deprecate --y, prefer --yes 2025-03-11 09:01:36 +01:00
docker_compose_down.yaml docs(hooks): document pre_start hook container retention and cleanup 2026-08-20 18:57:02 +02:00
docker_compose_events.yaml feat: add since & until flags to events command 2025-07-09 10:08:33 +02:00
docker_compose_exec.yaml Change verb tense in compose command documentation 2026-05-06 21:02:56 +02:00
docker_compose_export.yaml feat: add export command 2024-10-02 21:15:59 +02:00
docker_compose_images.yaml docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
docker_compose_kill.yaml docs: Update docker compose kill usage 2024-08-05 07:41:53 +02:00
docker_compose_logs.yaml docs: compose logs: add more links for flag descriptions 2026-06-10 09:36:31 +02:00
docker_compose_ls.yaml Fix ls --quiet help description 2025-02-10 17:30:39 +01:00
docker_compose_pause.yaml
docker_compose_port.yaml PRIVATE_PORT optional for docker compose port 2026-09-11 11:35:18 +02:00
docker_compose_ps.yaml fix(ps): honor psFormat from Docker CLI config when no --format flag given 2026-08-20 14:05:34 +02:00
docker_compose_publish.yaml introduce --insecure-registry, reserved for testing purpose 2025-11-06 16:17:21 +01:00
docker_compose_pull.yaml docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
docker_compose_push.yaml feat(push): deprecate --ignore-push-failures in favor of --ignore-missing 2026-10-16 18:08:20 +02:00
docker_compose_restart.yaml Update link in stats --help output 2025-02-04 18:12:17 +01:00
docker_compose_rm.yaml
docker_compose_run.yaml feat(run): --no-recreate reuses existing dependencies as-is 2026-10-14 09:34:19 +02:00
docker_compose_scale.yaml docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
docker_compose_start.yaml add --wait option to start command 2025-12-01 11:58:00 +01:00
docker_compose_stats.yaml feat(stats): add --all-projects and --aggregate flags 2026-10-15 06:41:29 +02:00
docker_compose_stop.yaml
docker_compose_top.yaml docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
docker_compose_unpause.yaml docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
docker_compose_up.yaml fix(up): keep handling Ctrl+C once the log monitor has ended 2026-11-17 09:35:33 +01:00
docker_compose_version.yaml docs: unify no trailing dots in docstrings and help (#11301) 2024-02-14 14:02:37 -05:00
docker_compose_volumes.yaml add volumes docs/reference/ 2025-06-30 19:38:27 +02:00
docker_compose_wait.yaml docs(wait): Fix wait command description 2024-08-19 10:44:57 +02:00
docker_compose_watch.yaml Set watch option --prune=true as default 2025-03-19 17:48:05 +01:00