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