docker history : View the creation history of the specified image. OPTIONS description: -H : Prints the image size and date in a readable format, default to true –no-trunc : Show the complete submission record -q : Only the submission record ID is listed. View the creation history of the local mirror runoob/ubuntu:v3. 2.57.1. Grammar ¶
docker history [OPTIONS] IMAGE
2.57.2. Example ¶
root@runoob:~# docker history runoob/ubuntu:v3
IMAGE CREATED CREATED BY SIZE COMMENT
4e3b13c8a266 3 months ago /bin/sh -c #(nop) CMD ["/bin/bash"] 0 B
<missing> 3 months ago /bin/sh -c sed -i 's/^#\s*\(deb.*universe\)$/ 1.863 kB
<missing> 3 months ago /bin/sh -c set -xe && echo '#!/bin/sh' > /u 701 B
<missing> 3 months ago /bin/sh -c #(nop) ADD file:43cb048516c6b80f22 136.3 MB