Skip to content

Latest commit

 

History

History
77 lines (56 loc) · 2.34 KB

README.md

File metadata and controls

77 lines (56 loc) · 2.34 KB

docker-clamav:alpine

ClamAV Logo

ClamAV latest.stable

Hub

Find new 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.

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