diff options
author | haircommander <pehunt@redhat.com> | 2018-07-20 14:06:26 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-25 18:22:35 +0000 |
commit | 73e39452828c2715dc5943de605f7cd488db24cb (patch) | |
tree | 6bf1e3b44764dfbefa0440e05510f9bef2e4fa24 /docs/podman-pod-kill.1.md | |
parent | 8ce0e0b2460220fccbb31fced940604b55d8a195 (diff) | |
download | podman-73e39452828c2715dc5943de605f7cd488db24cb.tar.gz podman-73e39452828c2715dc5943de605f7cd488db24cb.tar.bz2 podman-73e39452828c2715dc5943de605f7cd488db24cb.zip |
Add pod kill
With tests, man page, and completions.
Signed-off-by: haircommander <pehunt@redhat.com>
Closes: #1125
Approved by: rhatdan
Diffstat (limited to 'docs/podman-pod-kill.1.md')
-rw-r--r-- | docs/podman-pod-kill.1.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/podman-pod-kill.1.md b/docs/podman-pod-kill.1.md new file mode 100644 index 000000000..2f4d37f92 --- /dev/null +++ b/docs/podman-pod-kill.1.md @@ -0,0 +1,43 @@ +% podman-pod-kill "1" + +## NAME +podman\-pod\-kill - Kills all containers in one or more pods with a signal + +## SYNOPSIS +**podman pod kill** [*options*] *pod* ... + +## DESCRIPTION +The main process of each container inside the pods specified will be sent SIGKILL, or any signal specified with option --signal. + +## OPTIONS +**--all, -a** + +Sends signal to all containers associated with a pod. + +**--latest, -l** + +Instead of providing the pod name or ID, use the last created pod. If you use methods other than Podman +to run pods such as CRI-O, the last started pod could be from either of those methods. + +**--signal, s** + +Signal to send to the containers in the pod. For more information on Linux signals, refer to *man signal(7)*. + + +## EXAMPLE + +podman pod kill mywebserver + +podman pod kill 860a4b23 + +podman pod kill --signal TERM 860a4b23 + +podman pod kill --latest + +podman pod kill --all + +## SEE ALSO +podman-pod(1), podman-pod-stop(1) + +## HISTORY +July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com> |