Open amouat opened 2 years ago
I came across the same, it comes from the fact that it assume all files part of a package will be present in the image, when it is not the case the stats are biaised. For the debian latest the following are referenced in packages but not found in the image:
not found in image /.
not found in image /var/cache/apt/archives
not found in image /var/cache/apt/archives/partial
not found in image /var/lib/apt/lists/partial
And the two files within /var/cache/
are filtered, then there are at the end two "extra" file.
Lol, it is sort of negative files then :)
It would make sense to have a separate stat for this.
IMHO as this tool focus on identifying content present in the image but not managed by the OS package manager, this could simply be discarded. In fact there are two cases:
/.
which is the first file listed for every deb package, so it can be part of the filtered content which already contains some other exclusions
I wasn't expecting this output:
I did expect it to be around 100% as it is the base image.
redis:latest is even worse.