How to run a Trivy scan on Windows?

  docker, docker-image, security, trivy, windows

In the installation page for Trivy there is no mention of Windows.

I have Docker for Windows installed so the Docker method looks promising but there are a couple of things I’m not sure of:

  1. What should I set the cache directory to?
  2. Will I need to "mount docker.sock"?

The aim is to scan an image that I built using Docker for Windows.

Source: Docker Questions

LEAVE A COMMENT