summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-kill.1.md
diff options
context:
space:
mode:
authorPatrycja Guzik <patrycja.k.guzik@gmail.com>2022-04-04 22:20:52 +0200
committerPatrycja Guzik <patrycja.k.guzik@gmail.com>2022-04-04 22:46:28 +0200
commitdd9eec06a33470f0dcaa449bdd96fc50d2ad2fea (patch)
tree74b11f1c749a23d0b98f8984a7aa4ccc1d39d384 /docs/source/markdown/podman-kill.1.md
parent839744af56ee6a3e54c63eb8da495974666dfdeb (diff)
downloadpodman-dd9eec06a33470f0dcaa449bdd96fc50d2ad2fea.tar.gz
podman-dd9eec06a33470f0dcaa449bdd96fc50d2ad2fea.tar.bz2
podman-dd9eec06a33470f0dcaa449bdd96fc50d2ad2fea.zip
Unify examples section across several man pages: init/kill
Signed-off-by: Patrycja Guzik <patrycja.k.guzik@gmail.com>
Diffstat (limited to 'docs/source/markdown/podman-kill.1.md')
-rw-r--r--docs/source/markdown/podman-kill.1.md19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-kill.1.md b/docs/source/markdown/podman-kill.1.md
index 79d93bc4e..35ca9f74f 100644
--- a/docs/source/markdown/podman-kill.1.md
+++ b/docs/source/markdown/podman-kill.1.md
@@ -32,19 +32,36 @@ Signal to send to the container. For more information on Linux signals, refer to
## EXAMPLE
+Kill container with a given name
+```
podman kill mywebserver
+```
+Kill container with a given ID
+```
podman kill 860a4b23
+```
+Terminate container by sending `TERM` signal
+```
podman kill --signal TERM 860a4b23
+```
+Kill the latest container created by Podman
+```
podman kill --latest
+```
+Terminate all containers by sending `KILL` signal
+```
podman kill --signal KILL -a
+```
+Kill container using ID specified in a given files
+```
podman kill --cidfile /home/user/cidfile-1
-
podman kill --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2
+```
## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-stop(1)](podman-stop.1.md)**