Skip to content

Stop compose on CTRL+C and containers are stopped#9018

Closed
ulyssessouza wants to merge 1 commit intodocker:v2from
ulyssessouza:fix-stop-on-ctrl-c
Closed

Stop compose on CTRL+C and containers are stopped#9018
ulyssessouza wants to merge 1 commit intodocker:v2from
ulyssessouza:fix-stop-on-ctrl-c

Conversation

@ulyssessouza
Copy link
Contributor

What I did
Stop compose on CTRL+C and containers are stopped

Even containers with "restart: always" should be stopped and leave docker-compose finish it's execution.

Related issue
Resolves: #8523

Even containers with "restart: always" should be stopped
and leave docker-compose finish it's execution.

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
@ndeloof ndeloof mentioned this pull request Dec 8, 2021
@ndeloof
Copy link
Contributor

ndeloof commented Dec 8, 2021

I have an alternative proposal based on stop event: #9019

@ulyssessouza
Copy link
Contributor Author

Closing in favor of #9019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker-compose no longer gracefully stops

2 participants