Try the new alpine based version:
docker run -d -p 3310:3310 mk0x/docker-clamav:alpine
Alpine version reduces foot print to something about 10%.
Find new hub image at hub.docker.com
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
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
.
Thanks to @mchus proxy configuration is possible.
- HTTPProxyServer: Allows to set a proxy server
- HTTPProxyPort: Allows to set a proxy server port
Find the latest releases at the official docker hub registry.
- OpenShift support in kuanfandevops fork
docker run -d -p 3310:3310 mk0x/docker-clamav
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
See example with Nextcloud at docker-compose.yml.