diff options
| author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-06 08:31:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-06 08:31:20 -0800 |
| commit | 3e60de629d5feaff1ac15173b4ff1e5325dfa5dc (patch) | |
| tree | 06f3cee26ea99d6027130b6a908b8734c8f68afe /docs/podman-rmi.1.md | |
| parent | 99bbbeb746820716610317fedd8d3918951a9d7d (diff) | |
| parent | e037427035dc57e536478362fc19e30a400bc327 (diff) | |
| download | podman-3e60de629d5feaff1ac15173b4ff1e5325dfa5dc.tar.gz podman-3e60de629d5feaff1ac15173b4ff1e5325dfa5dc.tar.bz2 podman-3e60de629d5feaff1ac15173b4ff1e5325dfa5dc.zip | |
Merge pull request #1912 from baude/prune
Add ability to prune containers and images
Diffstat (limited to 'docs/podman-rmi.1.md')
| -rw-r--r-- | docs/podman-rmi.1.md | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/docs/podman-rmi.1.md b/docs/podman-rmi.1.md index f035897ee..9c080c9f1 100644 --- a/docs/podman-rmi.1.md +++ b/docs/podman-rmi.1.md @@ -19,15 +19,25 @@ Remove all images in the local storage. This option will cause podman to remove all containers that are using the image before removing the image from the system. -## EXAMPLE - -podman rmi imageID +Remove an image by its short ID +``` +podman rmi c0ed59d05ff7 +``` +Remove an image and its associated containers. +``` podman rmi --force imageID +```` -podman rmi imageID1 imageID2 imageID3 +Remove multiple images by their shortened IDs. +``` +podman rmi c4dfb1609ee2 93fd78260bd1 c0ed59d05ff7 +``` +Remove all images and containers. +``` podman rmi -a -f +``` ## SEE ALSO podman(1) |
