Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Down sigterm #1451

Merged
merged 2 commits into from
Mar 22, 2021
Merged

Down sigterm #1451

merged 2 commits into from
Mar 22, 2021

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Mar 22, 2021

What I did
run containerWait in background so it's not interrupted by context cancelation, and catch container exit to stop when all are done.
Also add support for second SIGTERM to kill the services (to align with docker-compose)

Related issue
fix #1447

(not mandatory) A picture of a cute animal, if possible in relation with what you did

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@github-actions github-actions bot added cli cli local Local context (moby) labels Mar 22, 2021
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof merged commit 9f81314 into main Mar 22, 2021
@ndeloof ndeloof deleted the down_sigterm branch March 22, 2021 16:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli cli local Local context (moby)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ctrl+C terminate attached container but not docker compose execution
2 participants