Trivy doesn't work with Docker Desktop configured to use containerd to pull and store images #7588
GrayCatCode
started this conversation in
Bugs
Replies: 1 comment 6 replies
-
According to the log output, Trivy appears to find your image but doesn't detect OS.
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Trivy can't find local images (on Windows or WSL Linux distros) when running Docker Desktop configured to use containerd to pull and store images. Instead of scanning the local Docker image, I had to use the image's TAR file to scan instead.
Desired Behavior
I would have hoped (not expected) that Trivy would find the local images even though Docker Desktop has been configured to use the new local image format repository with containerd.
Actual Behavior
Trivy could not find the local image specified in the scan command and thus created no scan report.
Reproduction Steps
Target
Container Image
Scanner
Vulnerability
Output Format
Table
Mode
Standalone
Debug Output
Operating System
Ubuntu 24.04 LTS running in WSL on Windows 11
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions