/docker-clamav

Dockerized open source antivirus for use with file sharing containers, REST API or TCP.

Primary LanguageDockerfileMIT LicenseMIT

docker-clamav

ClamAV Logo

ClamAV latest.stable

Optimized

Try the alpine based version:

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

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.

Alpine edge

Check out latest alpine-edge version (for latest clamav releases):

    docker run mkodockx/docker-clamav:alpine-edge

Hint: Take a look at the alpine-edge readme before using.

Hub

Find new hub image at hub.docker.com

About

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.

Environment VARs

Thanks to @mchus proxy configuration is possible.

  • HTTPProxyServer: Allows to set a proxy server
  • HTTPProxyPort: Allows to set a proxy server port

Releases

Find the latest releases at the official docker hub registry.

Known Forks

Usage

Debian Buster Slim (default, :latest, :buster-slim)

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

Alpine (:alpine)

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

Link

or linked (recommended)

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

docker-compose

See example with Nextcloud at docker-compose.yml.