-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: add -t and -i flags to docker run command so that docker contai… #66
Conversation
…ner can be stopped with crtl c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Originally posted by @jcstein in #65 (comment) Cross-posting here to make sure it keeps running when you close the terminal |
If you want to run a container in the background (no opened terminal required), use the parameter Originally posted by @smuu in #65 (comment) Should we Add the flag -d ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utAck
I don't think |
defer to @jcstein on this |
If we no longer need to copy anything from the logs (which is a UX we should maintain imo) then we should add these flags so that users can stop the docker container with crtl c, since that is a standard practice. Otherwise users need to detach from the container and use Either way we should include how to stop the container in the README. I'll update with my proposed solution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: nashqueue <99758629+nashqueue@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utAck
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
…ner can be stopped with crtl c
Overview
Close #65
REF: https://forums.docker.com/t/docker-run-cannot-be-killed-with-ctrl-c/13108/4