debian:stretchpython 3 helper script suricata-update inside the containerYou can mount a directory to /etc/suricata with a custom suricata.yaml in it to override what is baked into the container image.
$ docker build . -t fixel/suricata
You can find a container image on docker hub: fixel/suricata
The container expects that you pass arguments to it, everything is passed to the suricata command. To listen on the interface enp0s31f6 you would run this:
$ docker run --net=host --name=suricata -ti fixel/suricata -i enp0s31f6
The logs will be stored in /var/log/suricata, which is marked as docker volume. You can extract them by the usual means of container management.
Content type
Image
Digest
Size
116.3 MB
Last updated
over 7 years ago
docker pull fixel/suricata