This is a Docker Image for a lightweight containerized ClamAV Mirror using CVD-Update and Caddy. This image uses Alpine to minimize the image size and unnecessary bloat.
- Docker
Run the following commands to build and run the clamav-mirror Docker image locally.
docker build . --file Dockerfile --tag clamav-mirror:latest
docker compose up -d
docker exec -it clamav-mirror ./entrypoint.sh update
Docker update automate and run always one day, but you may change it in .env file
Once you have the mirror running, you can visit http://localhost:8080 to see what files are hosted by this server. You can then point any of your ClamAV instances to use this mirror instead by changing the following in your freshclam.conf
file:
DatabaseMirror http://localhost:8080