1DOCKER(1)                          JUNE 2014                         DOCKER(1)
2
3
4

NAME

6       docker-history - Show the history of an image
7
8
9

SYNOPSIS

11       docker history [--help] [-H|--human[=true]] [--no-trunc] [-q|--quiet]
12       IMAGE
13
14
15

DESCRIPTION

17       Show the history of when and how an image was created.
18
19
20

OPTIONS

22       --help
23         Print usage statement
24
25
26       -H, --human=true|false
27           Print sizes and dates in human readable format. The default is
28       true.
29
30
31       --no-trunc=true|false
32          Don't truncate output. The default is false.
33
34
35       -q, --quiet=true|false
36          Only show numeric IDs. The default is false.
37
38
39

EXAMPLES

41              $ docker history fedora
42              IMAGE          CREATED          CREATED BY                                      SIZE                COMMENT
43              105182bb5e8b   5 days ago       /bin/sh -c #(nop) ADD file:71356d2ad59aa3119d   372.7 MB
44              73bd853d2ea5   13 days ago      /bin/sh -c #(nop) MAINTAINER Lokesh Mandvekar   0 B
45              511136ea3c5a   10 months ago                                                    0 B                 Imported from -
46
47
48

Display comments in the image history

50       The docker commit command has a -m flag for adding comments to the
51       image. These comments will be displayed in the image history.
52
53
54              $ sudo docker history docker:scm
55              IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
56              2ac9d1098bf1        3 months ago        /bin/bash                                       241.4 MB            Added Apache to Fedora base image
57              88b42ffd1f7c        5 months ago        /bin/sh -c #(nop) ADD file:1fd8d7f9f6557cafc7   373.7 MB
58              c69cab00d6ef        5 months ago        /bin/sh -c #(nop) MAINTAINER Lokesh Mandvekar   0 B
59              511136ea3c5a        19 months ago                                                       0 B                 Imported from -
60
61
62
63

HISTORY

65       April 2014, Originally compiled by William Henry (whenry at redhat dot
66       com) based on docker.com source material and internal work.  June 2014,
67       updated by Sven Dowideit ⟨SvenDowideit@home.org.au⟩
68
69
70
71Docker Community              Docker User Manuals                    DOCKER(1)
Impressum