man/docker-images.1.md
0a0dd116
 % DOCKER(1) Docker User Manuals
b07f1938
 % Docker Community
 % JUNE 2014
0a0dd116
 # NAME
b07f1938
 docker-images - List images
0a0dd116
 
 # SYNOPSIS
 **docker images**
a2b529ea
 [**--help**]
b07f1938
 [**-a**|**--all**[=*false*]]
a2b0c977
 [**--digests**[=*false*]]
b07f1938
 [**-f**|**--filter**[=*[]*]]
 [**--no-trunc**[=*false*]]
 [**-q**|**--quiet**[=*false*]]
e01baa6b
 [REPOSITORY]
0a0dd116
 
 # DESCRIPTION
 This command lists the images stored in the local Docker repository.
 
 By default, intermediate images, used during builds, are not listed. Some of the
fde10cf8
 output, e.g., image ID, is truncated, for space reasons. However the truncated
0a0dd116
 image ID, and often the first few characters, are enough to be used in other
 Docker commands that use the image ID. The output includes repository, tag, image
1b2b783b
 ID, date created and the virtual size.
0a0dd116
 
 The title REPOSITORY for the first title may seem confusing. It is essentially
 the image name. However, because you can tag a specific image, and multiple tags
1b2b783b
 (image instances) can be associated with a single name, the name is really a
0a0dd116
 repository for all tagged images of the same name. For example consider an image
 called fedora. It may be tagged with 18, 19, or 20, etc. to manage different
 versions.
 
 # OPTIONS
 **-a**, **--all**=*true*|*false*
b07f1938
    Show all images (by default filter out the intermediate image layers). The default is *false*.
 
a2b0c977
 **--digests**=*true*|*false*
    Show image digests. The default is *false*.
 
b07f1938
 **-f**, **--filter**=[]
fae92d5f
    Filters the output. The dangling=true filter finds unused images. While label=com.foo=amd64 filters for images with a com.foo value of amd64. The label=com.foo filter finds images with the label com.foo of any value.
0a0dd116
 
a2b529ea
 **--help**
   Print usage statement
 
0a0dd116
 **--no-trunc**=*true*|*false*
b07f1938
    Don't truncate output. The default is *false*.
0a0dd116
 
 **-q**, **--quiet**=*true*|*false*
b07f1938
    Only show numeric IDs. The default is *false*.
0a0dd116
 
 # EXAMPLES
 
 ## Listing the images
 
 To list the images in a local repository (not the registry) run:
 
     docker images
 
 The list will contain the image repository name, a tag for the image, and an
 image ID, when it was created and its virtual size. Columns: REPOSITORY, TAG,
 IMAGE ID, CREATED, and VIRTUAL SIZE.
 
1b2b783b
 To get a verbose list of images which contains all the intermediate images
 used in builds use **-a**:
0a0dd116
 
     docker images -a
 
453c0abf
 Previously, the docker images command supported the --tree and --dot arguments,
 which displayed different visualizations of the image data. Docker core removed
 this functionality in the 1.7 version. If you liked this functionality, you can
 still find it in the third-party dockviz tool: https://github.com/justone/dockviz.
 
0a0dd116
 ## Listing only the shortened image IDs
 
1b2b783b
 Listing just the shortened image IDs. This can be useful for some automated
 tools.
0a0dd116
 
     docker images -q
 
 # HISTORY
1b2b783b
 April 2014, Originally compiled by William Henry (whenry at redhat dot com)
fa29b1f0
 based on docker.com source material and internal work.
b07f1938
 June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>