Skip to content
Discussion options

You must be logged in to vote

Hi @dh-seanmurphy ,

Thanks for connecting with us.

  • Generally, fanal.db is a local cache for holding os/package info , metadata for each image layers that avoid keeping fetch from internet each scanning and it cause endlessly growing while you keep scanning new images.
  • There's no automatic purging for fanal.db, and Yes you could safely remove it by deleting the db file manually. Once it been deleted, trivy would re-fetching all these package/vulnerability info from internet on the next run.
  • You could either manually deleteing the scan cache by rm -rf /home/scanner/.cache/trivy/fanal or running cmd trivy clean --scan-cache

More info could refer to : #16606

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dh-seanmurphy
Comment options

@MinerYang
Comment options

@dh-seanmurphy
Comment options

Answer selected by MinerYang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants