This repository contains instructions on how to work with ns2 (network simulator) and its graphical user interface nam using docker containers.
1. Make sure you have docker set up
docker build . -t ignema/ns2
Choose any name you want for your image.
1st way (using chocolatey)
choco install vcxsrv
Download it directly from the sourceforge website.
Important: Make sure you start XLaunch.exe that we just downloaded and keep it running in the background.
Make sure you check Disable Access Control !
C:\> ipconfig
# sudo apt-get install net-tools
#
# ifconfig
docker run -it --rm -e DISPLAY=<YOUR-IP-ADDRESS>:0.0 ignema/ns2