#893037 Add support for diffing docker-format containers

#893037#5
Date:
2018-03-15 20:24:10 UTC
From:
To:
It would be nice if diffoscope could diff against docker containers available
on the local system.

#893037#10
Date:
2018-03-15 22:52:40 UTC
From:
To:
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,

#893037#17
Date:
2018-03-22 17:19:31 UTC
From:
To:
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

#893037#22
Date:
2018-03-28 16:25:08 UTC
From:
To:
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,

#893037#27
Date:
2018-03-29 19:15:58 UTC
From:
To:
I poked a bit at how docker's overlay2 driver stores the layers and came
up with this temporary hack script

#893037#32
Date:
2018-12-02 16:30:14 UTC
From:
To:
Jonathan Dowland wrote:

This might be useful:

https://github.com/wagoodman/dive


Regards,

#893037#37
Date:
2018-12-15 15:00:45 UTC
From:
To:
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,