Sign inSign up

mk0x/docker-clamav

By mk0x

•Updated almost 6 years ago

Deprecated: Use https://hub.docker.com/r/mkodockx/docker-clamav

Image
4

10M+

mk0x/docker-clamav repository overview

⁠Deprecated: Use https://hub.docker.com/r/mkodockx/docker-clamav⁠

⁠docker-clamav:alpine

ClamAV Logo

ClamAV latest.stable

⁠Hub

Find hub image: https://cloud.docker.com/repository/docker/mk0x/docker-clamav⁠

⁠About

⁠Alpine

This image offers all the same options like the original one. It is based on Alpine Linux and this time providing easy extensions via configuration files.

Alpine version reduces foot print to something about less than 5%, compressed size in docker hub is 6.72 MB compared to debian 216.21 MB.

⁠Provides

Dockerized open source antivirus daemons for use with

⁠Description

ClamAV daemon as a Docker image. It builds with a current virus database and runs freshclam in the background constantly updating the virus signature database. clamd itself is listening on exposed port 3310.

⁠Default clamd configuration
MaxScanSize 300M
MaxFileSize 100M
MaxRecursion 30
MaxFiles 50000
MaxEmbeddedPE 40M
MaxHTMLNormalize 40M
MaxHTMLNoTags 2M
MaxScriptNormalize 5M
MaxZipTypeRcg 1M
MaxPartitions 128
MaxIconsPE 200
PCREMatchLimit 10000
PCRERecMatchLimit 10000

⁠ClamAV Configuration

The basic configuration is now optimized for average requirements. It scans mails as well as PDF, executables, archives, html and more.

⁠Releases

Find the latest releases at the official docker hub⁠ registry.

⁠Usage

    docker run -d -p 3310:3310 mk0x/docker-clamav:alpine

or linked (recommended)

    docker run -d --name av mk0x/docker-clamav:alpine
    docker run -d --link av:av application-with-clamdscan-or-something:alpine

⁠docker-compose

See example with Nextcloud at docker-compose.yml⁠.

You can simply provide your own configurations via volume substitution.

⁠Use it with custom configurations of clamd and freshclam

Start with this one in your own Dockerfile:

FROM mk0x/docker-clamav:alpine
COPY your/clamd.conf /etc/clamav/clamd.conf
COPY your/freshclam.conf /etc/clamav/freshclam.conf

Tag summary

Content type

Image

Digest

Size

266.2 MB

Last updated

about 6 years ago

docker pull mk0x/docker-clamav