Re:Setting up a Raspberry Pi 4 home server
by rovr138 on Thursday February 20, 2020 @01:26PM
(#22377279)
fail2ban works by monitoring logs.
If you had installed for example your web server on a container, the logs will be on the container. Fail2ban on the host won’t be able to parse the ones inside the container (by default, needs more work).
I'm not quite sure what you mean by "Additionally out of the box fail2ban won't work with docker containers". fail2ban is installed locally on the pi.