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
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
Content type
Image
Digest
Size
4.8 MB
Last updated
almost 10 years ago
docker pull fivium/clamav