diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-27 07:23:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-27 07:23:08 -0400 |
commit | d68eea60148e9fa4e24697104caa691b7e783380 (patch) | |
tree | 82e034d4c49dd997e3e697f275baef3a5ed69aad /docs/source/markdown/podman-rm.1.md.in | |
parent | b1cbcff5c5f42fbd1cc62167e0021b4c27e25c5a (diff) | |
parent | 11de12097fa21f696ca70218b15a0552663e7e22 (diff) | |
download | podman-d68eea60148e9fa4e24697104caa691b7e783380.tar.gz podman-d68eea60148e9fa4e24697104caa691b7e783380.tar.bz2 podman-d68eea60148e9fa4e24697104caa691b7e783380.zip |
Merge pull request #15507 from patrycja-guzik/docs-examples
[CI:DOCS] Fix example sections to follow the same format
Diffstat (limited to 'docs/source/markdown/podman-rm.1.md.in')
-rw-r--r-- | docs/source/markdown/podman-rm.1.md.in | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/source/markdown/podman-rm.1.md.in b/docs/source/markdown/podman-rm.1.md.in index c0fa94d82..9eb44dcc1 100644 --- a/docs/source/markdown/podman-rm.1.md.in +++ b/docs/source/markdown/podman-rm.1.md.in @@ -73,37 +73,37 @@ Remove anonymous volumes associated with the container. This does not include na created with **podman volume create**, or the **--volume** option of **podman run** and **podman create**. ## EXAMPLE -Remove a container by its name *mywebserver* +Remove container with a given name ``` $ podman rm mywebserver ``` -Remove a *mywebserver* container and all of the containers that depend on it +Remove container with a given name and all of the containers that depend on it ``` $ podman rm --depend mywebserver ``` -Remove several containers by name and container id. +Remove multiple containers with given names or IDs ``` $ podman rm mywebserver myflaskserver 860a4b23 ``` -Remove several containers reading their IDs from files. +Remove multiple containers with IDs read from files ``` $ podman rm --cidfile ./cidfile-1 --cidfile /home/user/cidfile-2 ``` -Forcibly remove a container by container ID. +Forcibly remove container with a given ID ``` $ podman rm -f 860a4b23 ``` -Remove all containers regardless of its run state. +Remove all containers regardless of the run state ``` $ podman rm -f -a ``` -Forcibly remove the latest container created. +Forcibly remove the last created container ``` $ podman rm -f --latest ``` |