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