One option is to override the config directory if you need with a volume mount that contains custom config files.
When you start the container, add this to your command line:
Where /full/path/to/your/configs/ is a directory containing your configs.
for more details.
Another option would be to create your own Docker file that starts FROM your clamav image of choice and overwrites their config with your config.
From: clamav-users <email@example.com> On Behalf Of Karthik Iyer via clamav-users
Sent: Tuesday, June 8, 2021 12:33 PM
To: Andrew C Aitchison <firstname.lastname@example.org>
Cc: Karthik Iyer <email@example.com>; Karthik Iyer via clamav-users <firstname.lastname@example.org>
Subject: Re: [clamav-users] Regarding increasing ClamAV file size while using docker
How do i change the conf file if I am using a docker image ? I am trying to make it as 2GB.
But if i use the docker image , it does not give me the option of changing the conf file.
On Tue, Jun 8, 2021 at 1:35 PM Andrew C Aitchison <email@example.com<mailto:firstname.lastname@example.org>> wrote:
On Tue, 8 Jun 2021, Karthik Iyer via clamav-users wrote: > Hi,
> I would like to scan files as big as 100 gb.
Not currently possible: https://lists.clamav.net/pipermail/clamav-users/2021-April/011018.html
At present the code is not 64bit clean (maybe not even 32bit clean
- the developers only guarantee 2GB files).
Andrew C. Aitchison Kendal, UK