March 2017
Beginner to intermediate
925 pages
18h 11m
English
It is handy to know how the image that we are using has been created. The docker history command helps us find all the intermediate layers.
Pull or import any Docker image.
$ docker history [ OPTIONS ] IMAGE
Here's an example using the preceding syntax:
$ docker history nkhare/fedora:httpd

From the metadata of an image, Docker can know how an image is being created. With the history command, it will look at the metadata recursively to get to the origin.
Look at the commit message of a layer that got ...
Read now
Unlock full access