-
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
Add --all flag to kill #1180
Add --all flag to kill #1180
Conversation
I think it will be better to update the manual for the new flag at the same time. |
Also the |
I may be confused, but doesn't killing the init of a container guarantee that the container will die? How can a pidns survive without an init? |
If you are sharing the host pid namespace or the pid namespace of another container, it will not kill all processes. |
This allows a user to send a signal to all the processes in the container within a single atomic action to avoid new processes being forked off before the signal can be sent. This is basically taking functionality that we already use being `delete` and exposing it ok the `kill` command by adding a flag. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
53c22f8
to
e58671e
Compare
I updated the completions and man pages for this new flag. |
1 similar comment
Fix BZ#1391665 Upstream reference: opencontainers/runc#1180 Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This allows a user to send a signal to all the processes in the
container within a single atomic action to avoid new processes being
forked off before the signal can be sent.
This is basically taking functionality that we already use being
delete
and exposing it ok thekill
command by adding a flag.Signed-off-by: Michael Crosby crosbymichael@gmail.com