Running Trivy 0.66 in parallel crashes as the databaset might be used by another Trivy #9525
Unanswered
kaiorafael
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
https://trivy.dev/latest/docs/references/troubleshooting/#database-and-cache-lock-errors |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Running multiple instances from Trivy generates error as the database might be used by other Trivy. This behavior was not there on 0.63.
Desired Behavior
I need to run multiple instances of Trivy to scan a set of local container images. On version 0.63 that methodology was valid, but by updating to the newest version this is not possible anymore.
Actual Behavior
Error
Reproduction Steps
I have a Python that runs in parallel Trivy as above for 13 different local repo. They are not executed as sequential.
Operating System
Linux
Version
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions