github.com/tompao/docker@v1.9.1/docs/reference/commandline/history.md (about) 1 <!--[metadata]> 2 +++ 3 title = "history" 4 description = "The history command description and usage" 5 keywords = ["docker, image, history"] 6 [menu.main] 7 parent = "smn_cli" 8 +++ 9 <![end-metadata]--> 10 11 # history 12 13 Usage: docker history [OPTIONS] IMAGE 14 15 Show the history of an image 16 17 -H, --human=true Print sizes and dates in human readable format 18 --help=false Print usage 19 --no-trunc=false Don't truncate output 20 -q, --quiet=false Only show numeric IDs 21 22 To see how the `docker:latest` image was built: 23 24 $ docker history docker 25 IMAGE CREATED CREATED BY SIZE COMMENT 26 3e23a5875458 8 days ago /bin/sh -c #(nop) ENV LC_ALL=C.UTF-8 0 B 27 8578938dd170 8 days ago /bin/sh -c dpkg-reconfigure locales && loc 1.245 MB 28 be51b77efb42 8 days ago /bin/sh -c apt-get update && apt-get install 338.3 MB 29 4b137612be55 6 weeks ago /bin/sh -c #(nop) ADD jessie.tar.xz in / 121 MB 30 750d58736b4b 6 weeks ago /bin/sh -c #(nop) MAINTAINER Tianon Gravi <ad 0 B 31 511136ea3c5a 9 months ago 0 B Imported from - 32 33 To see how the `docker:apache` image was added to a container's base image: 34 35 $ docker history docker:scm 36 IMAGE CREATED CREATED BY SIZE COMMENT 37 2ac9d1098bf1 3 months ago /bin/bash 241.4 MB Added Apache to Fedora base image 38 88b42ffd1f7c 5 months ago /bin/sh -c #(nop) ADD file:1fd8d7f9f6557cafc7 373.7 MB 39 c69cab00d6ef 5 months ago /bin/sh -c #(nop) MAINTAINER Lokesh Mandvekar 0 B 40 511136ea3c5a 19 months ago 0 B Imported from -