I have a docker container with Trivy installed.
I have a remote registry with docker images.
and
I would like to download the docker images to the container for scanning
Challenges
It is hard to run docker within a docker container for pulling the images. Trivy requires that you have the images locally before it can scan the images, either in a local registry or as a file.
I found two solutions: