.nh .TH podman\-rmi(1) .SH NAME .PP podman\-rmi \- Removes one or more locally stored images .SH SYNOPSIS .PP \fBpodman rmi\fP [\fIoptions\fP] \fIimage\fP [...] .PP \fBpodman image rm\fP [\fIoptions\fP] \fIimage\fP [...] .SH DESCRIPTION .PP Removes one or more locally stored images. .SH OPTIONS .SS \fB\-\-all\fP, \fB\-a\fP .PP Remove all images in the local storage. .SS \fB\-\-force\fP, \fB\-f\fP .PP This option will cause podman to remove all containers that are using the image before removing the image from the system. .PP Remove an image by its short ID .PP .RS .nf $ podman rmi c0ed59d05ff7 .fi .RE .PP Remove an image and its associated containers. .PP .RS .nf $ podman rmi \-\-force imageID .fi .RE .PP Remove multiple images by their shortened IDs. .PP .RS .nf $ podman rmi c4dfb1609ee2 93fd78260bd1 c0ed59d05ff7 .fi .RE .PP Remove all images and containers. .PP .RS .nf $ podman rmi \-a \-f .fi .RE .SH Exit Status .PP \fB0\fP All specified images removed .PP \fB1\fP One of the specified images did not exist, and no other failures .PP \fB2\fP One of the specified images has child images or is being used by a container .PP \fB125\fP The command fails for any other reason .SH SEE ALSO .PP podman(1) .SH HISTORY .PP March 2017, Originally compiled by Dan Walsh dwalsh@redhat.com \[la]mailto:dwalsh@redhat.com\[ra]