Parallel scans / read-only database #5795
skandragon
started this conversation in
Ideas
Replies: 1 comment
-
I'm looking to do the same thing. This was the recipe I was using; cat images.txt \
| parallel --jobs 0 \
'docker run --volume /var/run/docker.sock:/var/run/docker.sock \
--volume trivy-db-cache:/root/.cache \
aquasec/trivy \
--scanners vuln \
--format json image {} \
2> trivy_logs/{#}.log \
| jq --compact-output . \
> trivy_out/{#}.json' \ In reality, About 40% of the time, I was encountering this error message when trying to do this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm needing to scan a large number of images frequently, and want to do this in parallel as much as possible. While I could use a pile of database directories, it seems like overkill to copy an existing database before every image scan.
What I would like:
Target
Container Image
Scanner
Vulnerability
Beta Was this translation helpful? Give feedback.
All reactions