Docker image - mushorg/go-dpi GitHub Wiki
A dockerfile is available in the project for easily running the example application in a dockerized container. In order to use the dockerfile, you must first build an image from it by running the following command inside the go-dpi main directory.
docker build -t godpi-example .
After a couple minutes the image should be built. You may then run it as you would the example app, as it is described above. For example, for running the app on the default HTTP capture file, you may run simply the following:
docker run godpi-example
You may also run the example app on a device, however you should pass the appropriate parameters to allow the dockerized app to see the device. For instance, for listening to the wlan0
device you may run:
docker run --net host godpi-example -device wlan0