Hi Karthik,

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:
    --mount type=bind,source=/full/path/to/your/configs/,target=/etc/clamav
Where /full/path/to/your/configs/ is a directory containing your configs.
See 
https://docs.clamav.net/manual/Installing/Docker.html#controlling-the-container 
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.

Regards,
Micah



From: clamav-users <clamav-users-boun...@lists.clamav.net> On Behalf Of Karthik 
Iyer via clamav-users
Sent: Tuesday, June 8, 2021 12:33 PM
To: Andrew C Aitchison <and...@aitchison.me.uk>
Cc: Karthik Iyer <kiyerj....@gmail.com>; Karthik Iyer via clamav-users 
<clamav-users@lists.clamav.net>
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.

Please advise.

On Tue, Jun 8, 2021 at 1:35 PM Andrew C Aitchison 
<and...@aitchison.me.uk<mailto:and...@aitchison.me.uk>> 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
                        and...@aitchison.me.uk<mailto:and...@aitchison.me.uk>
_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to