wagoodman / dive

A tool for exploring each layer in a docker image
MIT License
46.69k stars 1.78k forks source link

Sort leaves by size #323

Open tpetry opened 4 years ago

tpetry commented 4 years ago

When trying to search for the files resulting in large docker containers it would be really useful if the leaves in interactive mode would not be sorted by name but by size. Scrolling over dozens of files in lib64 for example to find the "bad guy" is a really tedious task. I am not sure whether this should be the default mode or opt-in by a cli option.

shellwhale commented 4 years ago

That's straight up the first option I was looking for when downloading the tool. This is a must-have I think.

RohanTalip commented 3 years ago

This seems like a duplicate of https://github.com/wagoodman/dive/issues/89

bariscihanoglu commented 6 months ago

You can achieve this with CTRL + O as discussed in #89 and resolved in #424