A Docker container for the NS-3 Network Simulator
docker run --rm -it -v `pwd`:/work ryankurte/docker-ns3
- Install XQuartz
- Find IP with
ifconfig en0 | grep inet | awk '$1=="inet" {print $2}'
- Enable IP based access with
xhost + $IP
- Run with
docker run --rm -it -v `pwd`:/work -e DISPLAY=$IP:0 -v /tmp/.X11-unix:/tmp/.X11-unix ryankurte/docker-ns3
For more information check out fredrikaverpil.github.io.