(only needed to get the shell scripts to build your own image)
git clone https://github.com/jchavanton/voip_patrol.git
(optional, you can pull unless you want to build your own image)
cd voip_patrol/docker
./build_image.sh
docker pull jchavanton/voip_patrol:latest
cd voip_patrol/docker
./run.sh
#!/bin/sh
IMAGE=voip_patrol:latest
CONTAINER_NAME=voip_patrol
docker run -d --net=host --name=${CONTAINER_NAME} ${IMAGE}
docker logs voip_patrol
XML_CONF[basic_server.xml] RESULT FILE[result.json] PORT[5060]
Running /git/voip_patrol/voip_patrol --port 5060 --conf /xml/basic_server.xml --output /output/result.json