rancher-sandbox / rancher-desktop

Container Management and Kubernetes on the Desktop
https://rancherdesktop.io
Apache License 2.0
5.82k stars 272 forks source link

Trivy not working on Rancher Desktop 1.10.0 #5665

Open santogudi opened 11 months ago

santogudi commented 11 months ago

Actual Behavior

Image Scanning is not working with any image. image

Steps to Reproduce

Select an image, menu Scan.

Result

Error message: "Error trying to scan"

Expected Behavior

Trivy scan vulnerabilities report

Additional Information

No response

Rancher Desktop Version

1.10.0

Rancher Desktop K8s Version

1.27.6

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 11 Enterprise 21H2 22000.2416

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

the problem is present with or without VPN (Cisco Anyconnect)

jandubois commented 11 months ago

I can't repro this on macOS; the scan works (but doesn't find any vulnerabilities).

CleanShot 2023-10-06 at 09 58 31@2x

Need repro on Windows

jandubois commented 11 months ago

Works for me on Windows 11 as well:

CleanShot 2023-10-06 at 10 41 07@2x

@santogudi Can you attach a zip of the log files?