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

     1  % DOCKER(1) Docker User Manuals
     2  % Docker Community
     3  % JUNE 2014
     4  # NAME
     5  docker-images - List images
     6  
     7  # SYNOPSIS
     8  **docker images**
     9  [**-a**|**--all**[=*false*]]
    10  [**-f**|**--filter**[=*[]*]]
    11  [**--no-trunc**[=*false*]]
    12  [**-q**|**--quiet**[=*false*]]
    13  [REPOSITORY]
    14  
    15  # DESCRIPTION
    16  This command lists the images stored in the local Docker repository.
    17  
    18  By default, intermediate images, used during builds, are not listed. Some of the
    19  output, e.g., image ID, is truncated, for space reasons. However the truncated
    20  image ID, and often the first few characters, are enough to be used in other
    21  Docker commands that use the image ID. The output includes repository, tag, image
    22  ID, date created and the virtual size.
    23  
    24  The title REPOSITORY for the first title may seem confusing. It is essentially
    25  the image name. However, because you can tag a specific image, and multiple tags
    26  (image instances) can be associated with a single name, the name is really a
    27  repository for all tagged images of the same name. For example consider an image
    28  called fedora. It may be tagged with 18, 19, or 20, etc. to manage different
    29  versions.
    30  
    31  # OPTIONS
    32  **-a**, **--all**=*true*|*false*
    33     Show all images (by default filter out the intermediate image layers). The default is *false*.
    34  
    35  **-f**, **--filter**=[]
    36     Provide filter values (i.e. 'dangling=true')
    37  
    38  **--no-trunc**=*true*|*false*
    39     Don't truncate output. The default is *false*.
    40  
    41  **-q**, **--quiet**=*true*|*false*
    42     Only show numeric IDs. The default is *false*.
    43  
    44  # EXAMPLES
    45  
    46  ## Listing the images
    47  
    48  To list the images in a local repository (not the registry) run:
    49  
    50      docker images
    51  
    52  The list will contain the image repository name, a tag for the image, and an
    53  image ID, when it was created and its virtual size. Columns: REPOSITORY, TAG,
    54  IMAGE ID, CREATED, and VIRTUAL SIZE.
    55  
    56  To get a verbose list of images which contains all the intermediate images
    57  used in builds use **-a**:
    58  
    59      docker images -a
    60  
    61  ## Listing only the shortened image IDs
    62  
    63  Listing just the shortened image IDs. This can be useful for some automated
    64  tools.
    65  
    66      docker images -q
    67  
    68  # HISTORY
    69  April 2014, Originally compiled by William Henry (whenry at redhat dot com)
    70  based on docker.com source material and internal work.
    71  June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>