.TH "DOCKER" "1" " Docker User Manuals" "Docker Community" "JUNE 2014" "" .SH NAME .PP docker\-images \- List images .SH SYNOPSIS .PP \fBdocker images\fP [\fB\-\-help\fP] [\fB\-a\fP|\fB\-\-all\fP[=\fIfalse\fP]] [\fB\-\-digests\fP[=\fIfalse\fP]] [\fB\-f\fP|\fB\-\-filter\fP[=\fI[]\fP]] [\fB\-\-no\-trunc\fP[=\fIfalse\fP]] [\fB\-q\fP|\fB\-\-quiet\fP[=\fIfalse\fP]] [REPOSITORY] .SH DESCRIPTION .PP This command lists the images stored in the local Docker repository. .PP By default, intermediate images, used during builds, are not listed. Some of the output, e.g., image ID, is truncated, for space reasons. However the truncated 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 ID, date created and the virtual size. .PP 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 (image instances) can be associated with a single name, the name is really a 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. .SH OPTIONS .PP \fB\-a\fP, \fB\-\-all\fP=\fItrue\fP|\fIfalse\fP Show all images (by default filter out the intermediate image layers). The default is \fIfalse\fP. .PP \fB\-\-digests\fP=\fItrue\fP|\fIfalse\fP Show image digests. The default is \fIfalse\fP. .PP \fB\-f\fP, \fB\-\-filter\fP=[] 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. .PP \fB\-\-help\fP Print usage statement .PP \fB\-\-no\-trunc\fP=\fItrue\fP|\fIfalse\fP Don't truncate output. The default is \fIfalse\fP. .PP \fB\-q\fP, \fB\-\-quiet\fP=\fItrue\fP|\fIfalse\fP Only show numeric IDs. The default is \fIfalse\fP. .SH EXAMPLES .SH Listing the images .PP To list the images in a local repository (not the registry) run: .PP .RS .nf docker images .fi .RE .PP 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. .PP To get a verbose list of images which contains all the intermediate images used in builds use \fB\-a\fP: .PP .RS .nf docker images \-a .fi .RE .SH Listing only the shortened image IDs .PP Listing just the shortened image IDs. This can be useful for some automated tools. .PP .RS .nf docker images \-q .fi .RE .SH HISTORY .PP April 2014, Originally compiled by William Henry (whenry at redhat dot com) based on docker.com source material and internal work. June 2014, updated by Sven Dowideit \[la]SvenDowideit@home.org.au\[ra]