mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +08:00

Remove all will, would, could, should and use present tense. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
53 lines
1002 B
Markdown
53 lines
1002 B
Markdown
% podman-pod-kill 1
|
|
|
|
## NAME
|
|
podman\-pod\-kill - Kill the main process of each container in one or more pods
|
|
|
|
## SYNOPSIS
|
|
**podman pod kill** [*options*] *pod* ...
|
|
|
|
## DESCRIPTION
|
|
The main process of each container inside the pods specified is sent SIGKILL, or any signal specified with option --signal.
|
|
|
|
## OPTIONS
|
|
#### **--all**, **-a**
|
|
|
|
Sends signal to all containers associated with a pod.
|
|
|
|
@@option latest
|
|
|
|
@@option signal
|
|
|
|
## EXAMPLE
|
|
|
|
Kill pod with a given name
|
|
```
|
|
podman pod kill mywebserver
|
|
```
|
|
|
|
Kill pod with a given ID
|
|
```
|
|
podman pod kill 860a4b23
|
|
```
|
|
|
|
Terminate pod by sending `TERM` signal
|
|
```
|
|
podman pod kill --signal TERM 860a4b23
|
|
```
|
|
|
|
Kill the latest pod created by Podman
|
|
```
|
|
podman pod kill --latest
|
|
```
|
|
|
|
Terminate all pods by sending `KILL` signal
|
|
```
|
|
podman pod kill --all
|
|
```
|
|
|
|
## SEE ALSO
|
|
**[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**, **[podman-pod-stop(1)](podman-pod-stop.1.md)**
|
|
|
|
## HISTORY
|
|
July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>
|