- Package:
- src:diffoscope
- Source:
- diffoscope
- Submitter:
- Jonathan Dowland
- Date:
- 2018-12-15 15:03:48 UTC
- Severity:
- wishlist
It would be nice if diffoscope could diff against docker containers available on the local system.
tags 893037 + moreinfo thanks Hi Jonathan, Thank you very much for the idea and wishlist bug. Could you briefly elaborate on what you mean here? I have a bunch of directories under /var/lib/docker/containers -- are you wanting to diffoscope two of these, or...? diffoscope basically works on "paths", you see. Best wishes,
Hi Jonathan and Lamby, AFAIK, docker /images/ can be exported to tarballs. Not sure how human readable they are, but diffoscope can definitely work. (: available
Juliana wrote: Indeed that would definitely work. However, the "REPL" for someone doing this would inevitably involve someone scripting the export of two images and then runnning diffoscope against them, instead of simply knowing how to carve them out of, say, Docker to begin with. This seems a little at odds with diffoscope's idea of making the whole process of diffing two things much more usable. Whilst my gut was initially against it, perhaps some kind of "magic" paths (or URI scheme) would work here. (Inspired by IRC conversation with Jon right now) Best wishes,
I poked a bit at how docker's overlay2 driver stores the layers and came up with this temporary hack script
Jonathan Dowland wrote: This might be useful: https://github.com/wagoodman/dive Regards,
forwarded 893037 https://salsa.debian.org/reproducible-builds/diffoscope/issues/39 thanks I've forwarded this upstream here: https://salsa.debian.org/reproducible-builds/diffoscope/issues/39 Regards,