Docker images: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 23: Line 23:
Uses a Go template:
Uses a Go template:


  docker images --format "{{.ID}}
  docker images --format "{{.ID}}"

Revision as of 21:46, 17 January 2018

External

Internal

Overview

List images in the local Docker registry.

docker images [image-name]
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
db                  latest              c0e4c08c3981        3 minutes ago       624.1 MB
rabbitmq            latest              3bb7a967fc6c        7 days ago          179.4 MB

Options

-format

Uses a Go template:

docker images --format "{{.ID}}"