docker rmi | docker all image
RemoveoneormoreimagesUsage$dockerrmi[OPTIONS]IMAGE[IMAGE...]Refertotheoptionssection[1]foranoverviewofavailableOPTIONS[2]forthiscommand.DescriptionRemoves(andun-tags)oneormoreimagesfromthehostnode.Ifanimagehasmultipletags,usingthiscommandwiththetagasaparameteronlyremovesthetag.Ifthetagistheonlyonefortheimage,boththeimageandthetagareremoved.Thisdoesnotremoveimagesfromaregistry.Youcannotremoveanimageofarunningcontainerunlessyouusethe-foption.Toseeallimagesonahostusethedockerimagels[3]command.F...
Remove one or more images
Usage $ docker rmi [OPTIONS] IMAGE [IMAGE...]Refer to the options section[1] for an overview of available OPTIONS[2] for this command.
DescriptionRemoves (and un-tags) one or more images from the host node. If an image has multiple tags, using this command with the tag as a parameter only removes the tag. If the tag is the only one for the image, both the image and the tag are removed.
This does not remove images from a registry. You cannot remove an image of a running container unless you use the -f option. To see all images on a host use the docker image ls[3] command.
For example uses of this command, refer to the examples section[4] below.
Options Name, shorthand Default Description --force , -f Force removal of the image --no-prune Do not delete untagged parents ExamplesYou can remove an image using its short ...