View a Docker Image History

When working with Docker private or public images, there is a need to see what was changed inside the image before deploying a new version.

Docker History

With Docker history, we could check what was change as you are about to see. In the example below, I’m checking the history of the public and commonly used Nginx image.

docker history nginx

Below is the output.

Using the history option, we could actually review changes before deploying a new image version to production.