Docker cheatsheet - List images

List images

Docker list images

docker images [OPTIONS] [REPOSITORY[:TAG]]

  -a, --all             # Show all images (default hides intermediate images)
      --digests         # Show digests
  -f, --filter value    # Filter output based on conditions provided (default [])
      --format string   # Pretty-print images using a Go template
      --no-trunc        # Don't truncate output
  -q, --quiet           # Only show numeric IDs

Example

$ docker images
REPOSITORY                    TAG                 IMAGE ID    
redis                         latest              0f88f9be5839
hello-world                   latest              fce289e99eb9
kitematic/hello-world-nginx   latest              03b4557ad7b9

$ docker images -a # also show intermediate
Date: From:www.lautturi.com, cheatsheet