Sign inSign up

avsdeveng/fail2ban

By avsdeveng

Updated over 9 years ago

fail2ban

Image
0

876

avsdeveng/fail2ban repository overview

Fail2banana

Container must be run as privileged container

sudo docker run --name=fail2ban --net=host --privileged -d -v /var/log:/var/log/host fail2ban

Log files must be mounted to /var/log/host so that there won't be logging conflicts with the host.

By default attached jail.local is used which includes only SSH.

Additionally your own jail.local file and filters can be mounted -v /data/fail2ban/jail.local:/etc/fail2ban/jail.local -v /data/fail2ban/filter.d:/etc/fail2ban/filter.d

Tag summary

Content type

Image

Digest

Size

264.9 MB

Last updated

over 9 years ago

docker pull avsdeveng/fail2ban