Block a user
fail2ban-local (latest)
Published 2026-01-26 23:26:25 +00:00 by pi-ux-ce
Installation
docker pull gitea.geeraert.eu/pi-ux-ce/fail2ban-local:latestsha256:1f4d4c5d384045d1be4859e50f4805a94ad03e37ce5b4d6cc53d87382501175c
About this package
[Fail2ban](http://www.fail2ban.org/) is a daemon to ban hosts that cause multiple authentication errors.
Image Layers
| COPY /root-out/ / # buildkit |
| ARG BUILD_DATE=2025-12-13T13:39:21+00:00 |
| ARG VERSION=633fbea2-ls27 |
| ARG MODS_VERSION=v3 |
| ARG PKG_INST_VERSION=v1 |
| ARG LSIOWN_VERSION=v1 |
| ARG WITHCONTENV_VERSION=v1 |
| LABEL build_version=Linuxserver.io version:- 633fbea2-ls27 Build-date:- 2025-12-13T13:39:21+00:00 |
| LABEL maintainer=TheLamer |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit |
| ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |6 BUILD_DATE=2025-12-13T13:39:21+00:00 VERSION=633fbea2-ls27 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit |
| COPY root/ / # buildkit |
| ENTRYPOINT ["/init"] |
| ENV LSIO_FIRST_PARTY=true |
| ARG BUILD_DATE=2025-12-19T07:37:52+00:00 |
| ARG VERSION=1.1.0-r2-ls27 |
| LABEL build_version=Linuxserver.io version:- 1.1.0-r2-ls27 Build-date:- 2025-12-19T07:37:52+00:00 |
| LABEL maintainer=nomandera,nemchik |
| ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 |
| RUN |2 BUILD_DATE=2025-12-19T07:37:52+00:00 VERSION=1.1.0-r2-ls27 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache fail2ban iptables-legacy logrotate msmtp nftables whois && echo "**** copy fail2ban confs to /defaults ****" && mkdir -p /defaults/fail2ban && curl -o /tmp/fail2ban-confs.tar.gz -L "https://github.com/linuxserver/fail2ban-confs/tarball/master" && tar xf /tmp/fail2ban-confs.tar.gz -C /defaults/fail2ban/ --strip-components=1 --exclude=linux*/.editorconfig --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && echo "**** fix logrotate ****" && sed -i "s#/var/log/messages {}.*# #g" /etc/logrotate.conf && sed -i 's#/usr/sbin/logrotate /etc/logrotate.conf#/usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status#g' /etc/periodic/daily/logrotate && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** cleanup ****" && rm -rf /tmp/* $HOME/.cache # buildkit |
| COPY root/ / # buildkit |
| VOLUME [/config] |
| RUN /bin/sh -c apk add --no-cache tini # buildkit |
| ENTRYPOINT ["/sbin/tini" "fail2ban"] |
Labels
| Key | Value |
|---|---|
| build_version | Linuxserver.io version:- 1.1.0-r2-ls27 Build-date:- 2025-12-19T07:37:52+00:00 |
| maintainer | nomandera,nemchik |
| org.opencontainers.image.authors | linuxserver.io |
| org.opencontainers.image.created | 2025-12-19T07:37:52+00:00 |
| org.opencontainers.image.description | [Fail2ban](http://www.fail2ban.org/) is a daemon to ban hosts that cause multiple authentication errors. |
| org.opencontainers.image.documentation | https://docs.linuxserver.io/images/docker-fail2ban |
| org.opencontainers.image.licenses | GPL-3.0-only |
| org.opencontainers.image.ref.name | e496e3aeac265546e1f99bf786d0369c018bde06 |
| org.opencontainers.image.revision | e496e3aeac265546e1f99bf786d0369c018bde06 |
| org.opencontainers.image.source | https://github.com/linuxserver/docker-fail2ban |
| org.opencontainers.image.title | Fail2ban |
| org.opencontainers.image.url | https://github.com/linuxserver/docker-fail2ban/packages |
| org.opencontainers.image.vendor | linuxserver.io |
| org.opencontainers.image.version | 1.1.0-r2-ls27 |