container-diff
container-diff copied to clipboard
Reported size doesn't correlate with value reported by docker images command
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
- I got this error in a couple of examples
- Same image different versions (v2, v3) with minor changes (log files) between them
- Reported size by docker is 12.9 gb for both v2 and v3
- compare-diff diff --type=size img1 img2
- Reported size for v2 and v3 is different
- Reported size for both of them differs from the value docker images command returned