github.com/stchris/docker@v1.4.2-0.20150106053530-1510a324dbd5/docs/man/docker-rmi.1.md (about)

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-rmi - Remove one or more images
     6  
     7  # SYNOPSIS
     8  **docker rmi**
     9  [**-f**|**--force**[=*false*]]
    10  [**--no-prune**[=*false*]]
    11  IMAGE [IMAGE...]
    12  
    13  # DESCRIPTION
    14  
    15  This will remove one or more images from the host node. This does not
    16  remove images from a registry. You cannot remove an image of a running
    17  container unless you use the **-f** option. To see all images on a host
    18  use the **docker images** command.
    19  
    20  # OPTIONS
    21  **-f**, **--force**=*true*|*false*
    22     Force removal of the image. The default is *false*.
    23  
    24  **--no-prune**=*true*|*false*
    25     Do not delete untagged parents. The default is *false*.
    26  
    27  # EXAMPLES
    28  
    29  ## Removing an image
    30  
    31  Here is an example of removing and image:
    32  
    33      docker rmi fedora/httpd
    34  
    35  # HISTORY
    36  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    37  based on docker.com source material and internal work.
    38  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>