You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DockerSlim minifies docker images by removing unused packages and files.
It would be nice to support images created using DockerSlim, similarly to distroless images.
Currently trivy fails with an Unknown OS error (tested with 0.3.1).
The text was updated successfully, but these errors were encountered:
I've implemented that Trivy handled images minified with DockerSlim gracefully. Note that it means Trivy can detect vulnerabilities of libraries used by a programming language, but can't detect vulnerabilities of OS packages in the image. Trivy uses a status file like /lib/apk/db/installed and /var/lib/dpkg/status. If they don't exist in the image, Trivy can't know the versions of installed packages. If you want to scan OS packages, you need to include those files. They are small, so I think it doesn't increase the image size.
DockerSlim minifies docker images by removing unused packages and files.
It would be nice to support images created using DockerSlim, similarly to distroless images.
Currently trivy fails with an Unknown OS error (tested with 0.3.1).
The text was updated successfully, but these errors were encountered: