docker-clamav
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
- file sharing containers like Nextcloud or
- to use it via a REST proxy like @solita made clamav-rest or
- to directly connect to clamav via TCP port
3310
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
- OpenShift support in kuanfandevops fork
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.