github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/man/src/image/rm.md (about)

     1  Removes (and un-tags) one or more images from the host node. If an image has
     2  multiple tags, using this command with the tag as a parameter only removes the
     3  tag. If the tag is the only one for the image, both the image and the tag are
     4  removed.
     5  
     6  This does not remove images from a registry. You cannot remove an image of a
     7  running container unless you use the **-f** option. To see all images on a host
     8  use the **docker image ls** command.
     9  
    10  # EXAMPLES
    11  
    12  ## Removing an image
    13  
    14  Here is an example of removing an image:
    15  
    16      docker image rm fedora/httpd