News for hackers. Stuff that matters.
Re:Dive – A tool for exploring each layer in a Docker image by tmkc13 on Sunday November 25, 2018 @04:10PM (#18529057)
Nice!! have been waiting for something like this for a while. Gonna try this for sure.
Re:Dive – A tool for exploring each layer in a Docker image by manneshiva on Sunday November 25, 2018 @04:18PM (#18529111)
just curious, how do you intend to use this? I mean, what problem does exploring each layer in a Docker solve for you?
Re:Dive – A tool for exploring each layer in a Docker image by orf on Sunday November 25, 2018 @04:20PM (#18529120)
"why does this small change increase the size of my image by 500mb"
Re:Dive – A tool for exploring each layer in a Docker image by simonw on Sunday November 25, 2018 @04:41PM (#18529232)
A few people pointed me to this dive tool after I wrote up these notes on shrinking Docker images: https://simonwillison.net/2018/Nov/19/smaller-python-docker-...
Re:Dive – A tool for exploring each layer in a Docker image by wagoodman on Sunday November 25, 2018 @10:07PM (#18530745)
It does two things for you: a) you get to visualize and explore the image layer by layer, and b) it will analyze and score the image with a % efficiency, listing all of the potential "inefficient" files.

In this way it's not just showing you a score... the score doesn't help you make the image any better. This is why letting the user explore the layers is good, to help discover and explain why there is an inefficiency (not just that there is one).