-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
runc doesn't pass SIGINT to underlying process #1624
Comments
the strace output when I kill SIGTTIN and SIGINT
|
qingyunha
changed the title
question: How runc handle SIGINT
runc doesn't pass SIGINT to underlying process
Oct 29, 2017
There is another signal handler in https://github.com/opencontainers/runc/blob/master/tty.go#L105 that cause runc exit immediately. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think signal handler is here.
so the SIGINT will send to pid1. Right?
But when I run
runc --log /dev/stderr --debug run xxx
, thenkill -SIGINT runc
. I didn't see logsending signal to process
as I expected. runc just exit and leave container process running in some case.Other signals than SIGINT will do that. I am confused about this, please help me.
The text was updated successfully, but these errors were encountered: