Files
moby/daemon/command
Sebastiaan van Stijn 1f11085c8e daemon: RestartSwarmContainers: handle context cancellation
Pass the daemon startup context to RestartSwarmContainers and return an
error if startup is canceled.

Stop scheduling additional container starts after cancellation, wait for
already-started work to finish, and propagate the context error so daemon
initialization does not continue after an interrupted restart.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-10-12 18:39:42 +02:00
..