/docker-clamav

Dockerized Clamav

Primary LanguageShellMIT LicenseMIT

rayzilt/clamav

Non-Official Dockerized Clamav based on Debian Stable Slim.

Build Automated Build Status Docker Pulls

Tags

Branch Version Tag Name Dockerfile Image Info
Stable latest Dockerfile

Environment Variables

No environment variables are used.

Volumes

Volume Function Persistent
/etc/clamav Clamav configuration No
/var/lib/clamav Clamav definitions No

Keep in mind when making /etc/clamav persistent, you need to download the configuration from Debian Repository.

Exposed Ports

Port Function
3310 Clamd

Healthcheck

The healthcheck runs every minute to check if Clamd and Freshclam are still running. Script healthcheck.sh will be responsible for this. It checks if both processes are present using pgrep.

Usage

Every startup the container will run freshclam to download the latest definitions available. After a successfull download, freshclam and clamd are started as daemon. Both programs print there output to console.

Every hour freshclam checks for new definitions.

References

Support

This Docker image is for personal use but let me know if there are any improvements available. Please use Github to send me a message.