diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-21 10:34:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 10:34:40 +0100 |
commit | 248dbf6089922903d12553497a2faae27d1b503b (patch) | |
tree | 335c4daf4f583fc1c9c85c9844b7eda5f59fefb4 /docs/source | |
parent | 447e947aed160de86d1bb3d2f09a3628a25a7511 (diff) | |
parent | 95dad4d8a443682e59c14a94035a111bab3e42fc (diff) | |
download | podman-248dbf6089922903d12553497a2faae27d1b503b.tar.gz podman-248dbf6089922903d12553497a2faae27d1b503b.tar.bz2 podman-248dbf6089922903d12553497a2faae27d1b503b.zip |
Merge pull request #13541 from vrothberg/rmi-ignore
podman rmi --ignore
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-rmi.1.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-rmi.1.md b/docs/source/markdown/podman-rmi.1.md index 5fe0efa18..8d0e5e500 100644 --- a/docs/source/markdown/podman-rmi.1.md +++ b/docs/source/markdown/podman-rmi.1.md @@ -24,6 +24,10 @@ 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. +#### **--ignore**, **-i** + +If a specified image does not exist in the local storage, ignore it and do not throw an error. + Remove an image by its short ID ``` @@ -43,6 +47,16 @@ Remove all images and containers. ``` $ podman rmi -a -f ``` + +Remove an absent image with and without the `--ignore` flag. +``` +$ podman rmi --ignore nothing +$ podman rmi nothing +Error: nothing: image not known + +``` + + ## Exit Status **0** All specified images removed |