Skip to content
D

Docker Fail2ban

Fail2ban Docker image

by crazy-maxFree

#2810in Developer Tools
0In stores

Description

docker-fail2ban is a Docker image that runs Fail2ban, a tool that bans hosts after repeated failed logins. The image is published on Docker…

Highlights

  • Fail2ban in a Docker image, Alpine or Debian based
  • Docker Compose setup with examples
  • Custom jails, actions and filters in /data
  • Choice of iptables mode: auto, nft or legacy
  • Notes on DOCKER-USER and systemd journal logging

Ratings & Reviews

No ratings yet

Be the first to rate Docker Fail2ban.

People also visit

F

Fail2ban

Daemon to ban hosts that cause multiple authentication errors

Developer Tools
Launch
F

Fail2Ban-Report

Web-based dashboard for Fail2Ban log filtering and blocklist control

Developer Tools
Launch
U

Ufw Docker Automated

Manage UFW (Uncomplicated Firewall) rules for Docker containers

Developer Tools
Launch
D

Docker Nginx FPM Alpine

PrivateBin docker image based on Nginx, php-fpm & Alpine Linux stack

Developer Tools
Launch
N

Nginx Proxy Manager

Docker container for managing Nginx proxy hosts

Developer Tools
Launch
D

Docker

AnonAddy Docker image

Utilities
Launch

Docker Fail2ban FAQ

What is docker-fail2ban?

It is a Docker image of Fail2ban, a service that watches logs and bans hosts that cause repeated authentication failures.

Where is the image published?

The README lists Docker Hub as crazymax/fail2ban and the GitHub Container Registry as ghcr.io/crazy-max/fail2ban. Tags include latest, edge, and Debian variants.

How do I run it?

Docker Compose is the recommended route, and the repository has examples in the examples/compose folder. You can also start it from the command line.

Which settings can I change?

The README lists the timezone, log target, log level, how long bans stay in the database, and the iptables mode, each set with an environment variable.

Can I use my own rules?

Yes. Custom jails, actions and filters go into the /data volume alongside the Fail2ban database. The README also covers global jail configuration and GeoIP2.

What are the best Docker Fail2ban alternatives?

Popular alternatives to Docker Fail2ban include Fail2ban, Fail2Ban-Report and Ufw Docker Automated. See all Docker Fail2ban alternatives

Developer Stuff

Badges