Public Repository

Last pushed: 9 months ago
Short Description
ClamAV configured to run as a daemon.
Full Description

Expects Clamav database files to be located on the host which are mounted through as a volume.

The config is set to expose ports 40000-40100 for min and max stream ports and 3310 for the TCP Socket.

docker run -d -p 3310:3310 -p 40000-40100:40000-40100 -v /var/lib/clamav/:/var/lib/clamav/ fivium/clamav

clamd.conf

LogFile /var/log/clamav/clamd.log
LogFileMaxSize 2M
LogTime yes
LogSyslog yes
PidFile /run/clamav/clamd.pid
TemporaryDirectory /var/tmp
DatabaseDirectory /var/lib/clamav
LocalSocket /run/clamav/clamd.sock
FixStaleSocket yes
TCPSocket 3310
TCPAddr 0.0.0.0
MaxConnectionQueueLength 30
StreamMaxLength 25M
StreamMinPort 40000
StreamMaxPort 40100
MaxThreads 50
ReadTimeout 300
User clamav
AllowSupplementaryGroups yes
ScanPE yes
ScanELF yes
DetectBrokenExecutables yes
ScanOLE2 yes
ScanMail yes
ScanArchive yes
ArchiveBlockEncrypted yes
MaxScanSize 100M
MaxFileSize 25M
Foreground yes
Docker Pull Command
Owner
fivium

Comments (0)