This repository contains configuration files used to generate Docker images registered on Dockerhub.
In order to use the PF_RING tools or take advantage of the PF_RING acceleration when using the ntop applications, the PF_RING kernel module and drivers need to be loaded on the host system. Please read the instructions in the PF_RING User's Guide and Using PF_RING with Docker
docker build -t pfring -f Dockerfile.pfring .
docker run --net=host pfring pfcount -i eno1
If you want to use a ZC interface, you need to access the license file from the container, you can use the -v|--volume option for this:
docker run --net=host -v 001122334455:/etc/pf_ring/001122334455 pfring pfcount -i zc:eth1
For additional info please read the PF_RING User's Guide
docker build -t ntopng -f Dockerfile.ntopng .
docker run -it --net=host ntopng -i eno1
docker build -t nprobe -f Dockerfile.nprobe .
docker run -it --net=host nprobe -i eno1
docker build -t nprobe -f Dockerfile.ntap.dev .
docker run -it --net=host ntap -i eth0 -c <ntap_collector_ip>:1234 -k my_pwd
docker build -t cento -f Dockerfile.cento .
docker run -it --net=host cento -i eno1
docker build -t n2disk -f Dockerfile.n2disk .
docker run -it --cap-add IPC_LOCK --net=host n2disk -i eno1 -o /tmp
Note: IPC_LOCK is required to use the Direct IO support in n2disk, which required mlock.
docker build -t nscrub -f Dockerfile.nscrub .
docker run -it --net=host nscrub -i eth1 -o eth2
Note: you can configure the application license sharing the license file with the container, you can do this using the -v|--volume option. This applies to all the applications.
docker run -it --net=host -v $(pwd)/nscrub.license:/etc/nscrub.license nscrub -i eth1 -o eth2
You can pass configuration options also via the NTOP_CONFIG
environment variable, using the -e
option. This applies to all the applications.
docker run -it -e NTOP_CONFIG="-i eno1" --net=host ntopng