Hi there, On Wed, 7 Sep 2022, Adrian Bielefeldt via clamav-users wrote:
I'm trying to setup a docker container with clamav and am struggling to allow for larger files to be scanned. I've set up my docker-compose.yml like this: version: "3.3" services: clamav: image: clamav/clamav:latest environment: CLAMD_CONF_MaxFileSize: 250M CLAMD_CONF_MaxScanSize: 250M restart: always ports: - "3310:3310" but that doesn't seem to do it (I keep getting a Broken Pipe Error). I presume I'm just using the wrong variables, but I can't seem to find the right ones. Can anyone point me in the right direction?
I'll try, but I'm afraid I've never used ClamAV with Docker. Do you have a configuration file somewhere called clamd.conf or something similar? If so I'd expect that you just need to edit the relevant options in that and restart clamd. For more help see the 'man' page: man clamd.conf or the online documentation: https://docs.clamav.net/ Incidentally as of 0.105.0 the default for MaxScanSize is 400M: https://blog.clamav.net/2022/05/clamav-01050-01043-01036-released.html -- 73, Ged. _______________________________________________ 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/Cisco-Talos/clamav-documentation https://docs.clamav.net/#mailing-lists-and-chat