Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose run should terminate container on SIGHUP #4909

Closed
fsateler opened this issue Jun 8, 2017 · 0 comments
Closed

docker-compose run should terminate container on SIGHUP #4909

fsateler opened this issue Jun 8, 2017 · 0 comments
Milestone

Comments

@fsateler
Copy link

fsateler commented Jun 8, 2017

When running docker-compose run --rm $service $cmd, the expectation is that the container will be terminated when docker-compose terminates. If docker-compose terminates due to SIGHUP (which can happen for example when docker-compose is run in a remote server and the ssh connection is terminated), it will leave the container running. It should stop and remove (if --rm was passed) the container.

garribas added a commit to garribas/compose that referenced this issue Nov 1, 2017
Signed-off-by: Guillermo Arribas <garribas@gmail.com>
@shin- shin- added this to the 1.20.0 milestone Feb 7, 2018
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

No branches or pull requests

2 participants