Non-Official Dockerized Clamav based on Debian Stable Slim.
Branch | Version | Tag Name | Dockerfile | Image Info |
---|---|---|---|---|
Stable | latest | Dockerfile |
No environment variables are used.
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.
Port | Function |
---|---|
3310 | Clamd |
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
.
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.
- Clamav Official website: https://clamav.net/
- Documentation: http://www.clamav.net/documents/
- Clamav Github: https://github.com/Cisco-Talos/clamav-devel
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.