Sign inSign up

cloneme/fail2ban

By cloneme

•Updated over 10 years ago

fail2ban

Image
1

571

cloneme/fail2ban repository overview

⁠fail2ban

⁠RUN

The /var/log directory of the host is mount in the /var/log/host directory of the container, keep that in mind for you jail.local file (an example file can be found on the github repo)

docker run -ti --rm --net=host --privileged -e TIMEZONE="Europe/Paris" -v /var/log:/var/log/host -v ~/fail2ban/jail.local:/etc/fail2ban/jail.local francois/fail2ban:latest

⁠BUILD

as usual:

git clone https://github.com/francois-docker/fail2ban.git
cd fail2ban
docker build -t francois/fail2ban .

Tag summary

Content type

Image

Digest

Size

171.5 MB

Last updated

over 10 years ago

docker pull cloneme/fail2ban