diff options
-rw-r--r-- | docs/source/markdown/podman-init.1.md | 10 | ||||
-rw-r--r-- | docs/source/markdown/podman-kill.1.md | 19 | ||||
-rw-r--r-- | docs/source/markdown/podman-pod-kill.1.md | 15 |
3 files changed, 42 insertions, 2 deletions
diff --git a/docs/source/markdown/podman-init.1.md b/docs/source/markdown/podman-init.1.md index d771c92f3..9525f610c 100644 --- a/docs/source/markdown/podman-init.1.md +++ b/docs/source/markdown/podman-init.1.md @@ -29,12 +29,20 @@ to run containers such as CRI-O, the last started container could be from either ## EXAMPLE +Initialize container with a given ID +``` podman init 35480fc9d568 +``` +Initialize container with a given name +``` podman init test1 +``` +Initialize the latest container created by Podman +``` podman init --latest - +``` ## SEE ALSO **[podman(1)](podman.1.md)**, **[podman-start(1)](podman-start.1.md)** 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)** diff --git a/docs/source/markdown/podman-pod-kill.1.md b/docs/source/markdown/podman-pod-kill.1.md index 45b61c620..96ced68a7 100644 --- a/docs/source/markdown/podman-pod-kill.1.md +++ b/docs/source/markdown/podman-pod-kill.1.md @@ -26,15 +26,30 @@ Signal to send to the containers in the pod. For more information on Linux signa ## 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)** |