container-diff icon indicating copy to clipboard operation
container-diff copied to clipboard

Reported size doesn't correlate with value reported by docker images command

Open W4RJ4 opened this issue 3 years ago • 0 comments

Expected behavior

Both of these images are 12.9 gb when calling docker images command. Only minor differences in txt log files.

Actual behavior

Significant difference present in the type=size comparison

Information

  • container-diff version: v0.17.0 built from git bea7ad9
  • Operating system: MacOS (Ventura 13.0.1)

Steps to reproduce the behavior

  1. I got this error in a couple of examples
  2. Same image different versions (v2, v3) with minor changes (log files) between them
  3. Reported size by docker is 12.9 gb for both v2 and v3
  4. compare-diff diff --type=size img1 img2
  5. Reported size for v2 and v3 is different
  6. Reported size for both of them differs from the value docker images command returned

W4RJ4 avatar Dec 09 '22 10:12 W4RJ4