For deploying Stenographer within a Docker container, please first confirm your network interface and port number in the config
and Dockerfile
before continuing.
After building Stenographer, please use the command below (remember to change the port) to run it locally:
sudo docker run -p 9005:9005 -itd --cap-add NET_RAW --cap-add NET_ADMIN --cap-add IPC_LOCK --network host --name stenographer stenographer
For deploying Stenographer on a Kubernetes cluster, you will need to use a configmap for the config
file and place it in /etc/stenographer/config
. Additionally, you will need to add the following capabilities:
- NET_ADMIN
- NET_RAW
- IPC_LOCK
If you're looking for more opensource containerized tools, take a look at https://github.com/sealingtech/EDCOP for a fully automated network security platform that utilizes Docker and Kubernetes for deployments and scaling!