docker-host VS docker-fail2ban

Compare docker-host vs docker-fail2ban and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
docker-host docker-fail2ban
2 9
1,063 594
- -
5.3 6.6
5 months ago 7 months ago
Shell Dockerfile
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

docker-host

Posts with mentions or reviews of docker-host. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-26.
  • Run MongoDB Atlas locally for testing
    3 projects | dev.to | 26 Feb 2021
    All good, but to build a cluster of more than one node MongoDB requires that "each member of a replica set is accessible by way of resolvable DNS or hostnames". If you run Docker version 18.03+ on hosts like Mac and Win or Docker 20.04+ on Linux, you are free to use the special DNS name host.docker.internal. During installation Docker might add it to your OS host file. However, for those who cannot upgrade their Docker for some reason, we can employ a special container which redirects traffic to the host, for instance Qoomon docker-host. Similarly, we can add dockerhost to the OS host file and also run the container with NET_ADMIN and NET_RAW kernel capabilities.

docker-fail2ban

Posts with mentions or reviews of docker-fail2ban. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-09.
  • How to secure my self-hosted website?
    2 projects | /r/selfhosted | 9 Feb 2023
    It does, but it defaults to nftables from (I think) Ubuntu 21 and onwards. So when you're running fail2ban in a docker container, it run an iptables command to block the IP. However, it errors out because nftables is default in Ubuntu 19 onwards (only for new installs). See https://github.com/crazy-max/docker-fail2ban down the page. You can replace the defaults, but I do not want to mess with my docker box at this point!
  • Newbie looking to get a NAS
    2 projects | /r/qnap | 24 Oct 2022
    Nginx Reverse Proxy Manager Lets you redirect traffic from a single machine to all of your VMs and servers as well as manage SSL certificates, you can also do things like deploy Fail2Ban
  • Help securing/exposing self-hosted services
    4 projects | /r/selfhosted | 1 Oct 2022
  • A working regex for the fallback_access.log in nginx proxy manager
    2 projects | /r/nginxproxymanager | 21 Dec 2021
    My setup is all docker on the raspberry pi 4 8gb. I can not seem to find a good regex for this log file. All log entries fail when testing. You wish it will put the client entry IP address in iptables. My regex knowledge is zero so I depend on examples (that don't work). I have no problems with the configuration that works fine. The proxy xx access log has a different format, but if someone has a working regex for that file, please let me know. For fail2ban I use https://github.com/crazy-max/docker-fail2ban For NPM I use https://github.com/jc21/nginx-proxy-manager In fail2ban I use the filter.d dir for the conf file. I can see it's loading in the log but the testing from within the docker image gives no result.
  • Possible to redirect container logs to file
    3 projects | /r/docker | 6 Dec 2021
    My setup right now includes - Rootless Docker (can read and maybe write to journald, syslog seems to require root but maybe I'm wrong) - Fail2ban in a container crazymax/fail2ban
  • Was my raspberry hacked?
    4 projects | /r/linuxadmin | 29 Oct 2021
    If you are running docker for your stuff, crazy-max dockerized fail2ban works well. Just be sure to export any form of logs out of what you want to protect and into the fail2ban container.
  • Is putting fail2ban/ufw in front of Docker+Traefik v2 necessary? How do Docker+Traefik handle the same need?
    2 projects | /r/Traefik | 21 Jan 2021
    https://github.com/crazy-max/docker-fail2ban#custom-jails-actions-and-filters
    2 projects | /r/Traefik | 21 Jan 2021

What are some alternatives?

When comparing docker-host and docker-fail2ban you can also consider the following projects:

crowdsec - CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.

docker-php-nginx - Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux

firehol - A firewall for humans...

docker-rtorrent-rutorrent - rTorrent and ruTorrent Docker image

docker-cloudflared - Cloudflared proxy-dns Docker image

docker-matomo - Matomo (formerly Piwik) Docker image

iptables-nftables-multiroute-firewall - A collection of nftables, multi routing scripts, port knocked, and iptables files. To get inspiration to make your own firewalls.

AnonAddy-docker - AnonAddy Docker image

dockprom - Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager

docker-mumble - Docker image for Mumble server.

Fail2Ban - Daemon to ban hosts that cause multiple authentication errors

iptables-docker - A bash solution for docker and iptables conflict