dive
A tool for exploring each layer in a docker image
.... The lower left pane shows basic layer info and an experimental metric that will guess how much wasted space your image contains. This might be from duplicating files across layers, moving files across layers, or not fully removing files. Both a percentage "score" and total wasted file space is provided. You can build a Docker image and do an immediate analysis with one command: dive build -t some-tag .