It is imperative for us to have a deeper understanding of the Docker image we are using. The docker image history command helps us find all the layers in the image, its image ID, when it was created, how it was created, the size, and any additional comments associated with that layer.
Looking at the history of an image
Getting ready
Before we begin the next recipe, first pull or import any Docker image.
How to do it...
To look at the history of the image, consider the following syntax:
$ docker image history [OPTIONS] IMAGE
Here's an example using the preceding...