github.com/tsuna/docker@v1.7.0-rc3/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  [**--help**]
    11  [**--no-prune**[=*false*]]
    12  IMAGE [IMAGE...]
    13  
    14  # DESCRIPTION
    15  
    16  Removes one or more images from the host node. This does not remove images from
    17  a registry. You cannot remove an image of a running container unless you use the
    18  **-f** option. To see all images on a host 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  **--help**
    25    Print usage statement
    26  
    27  **--no-prune**=*true*|*false*
    28     Do not delete untagged parents. The default is *false*.
    29  
    30  # EXAMPLES
    31  
    32  ## Removing an image
    33  
    34  Here is an example of removing and image:
    35  
    36      docker rmi fedora/httpd
    37  
    38  # HISTORY
    39  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    40  based on docker.com source material and internal work.
    41  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
    42  April 2015, updated by Mary Anthony for v2 <mary@docker.com>