This container is designed to allow fail2ban to function at the host level, as well as at the docker container level.
If you are running applications on the host, you will need to set the chain to INPUT in the jail for that application.
Configuration Files
On first run, the container will create a number of folders and files in /config. The default configurations for fail2ban are all disabled by default.
Please refer to the Configuration README, which can be viewed in our repository, or in your config folder at /config/fail2ban/README.md.
Remote Logs
All jails require the ability to read the application log files. We recommend mounting each application’s log folder as a volume to the container (illustrated by the optional volumes in our documentation). Mounting individual log files can cause issues and is not recommended.
The /remotelogs path is designed to act as a parent for all log files you would like fail2ban to be able to use.
Each log file should be mounted in a subfolder underneath /remotelogs, ex:
/remotelogs/nginx/would mount a folder containing the nginx logs to the container



