tiredofit / docker-clamav

Docker antivirus software with monitoring and customizable features
MIT License
26 stars 19 forks source link

LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav #6

Open longfeide2008 opened 4 years ago

longfeide2008 commented 4 years ago

image

docker exec -it 4d5db507fca9 bash

image

tiredofit commented 4 years ago

Ahh, thanks for this. I'm not storing the virus defniitions in the packaged location but in /data/definitions/. I will however add a patch to this image to avoid this error. In the meantime you can use clamscan -d /data/definitions instead of just clamscan.

tiredofit commented 4 years ago

New version tagged tiredofit/clamav:2.0.4 and tiredofit/clamav:latest building on Docker Hub which fixes this issue for you. clamscan should just work without any additional arguments.