wagoodman / dive

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

desperately need metadata export option. #404

Open horos22reg opened 2 years ago

horos22reg commented 2 years ago

I love the idea of this tool, but in practice it is quite cumbersome to use the gui. I want to see exactly when a file gets exported to a disk and which command did it, but doing so right now requires a LOT of gui navigation. Instead, it would be awesome if you got something like:

01_run.txt

where 01_run.txt contained a dump of the command being used and a snapshot of resultant filesystem (permissions and sizes of the files). That way you could simply grep for a pattern to look for the file that you were interested in. Perhaps the directories and files that actually changed could have a '*' next to them for emphasis.

This would save hours of time. If you've got an image with lots of steps, navigating through the menus is fairly manually intensive and error prone.