Dive is a small CLI tool that lets you analyze Docker images. I use the tool when I want to take a close look at the layers.
Docker images often contain files that are not needed at all for the process that is supposed to run.
Dive lets you jump directly into the individual layers using its console application.

A keyboard shortcut lets you quickly switch between the "panes".
You can find installation instructions for your operating system on the GitHub page: