[comments]: The original author of Mini-NDN docker is Md Ashiqur Rahman (marahman@email.arizona.edu)
:exclamation: Mini-NDN docker is in experimental phase, it uses older version of Mini-NDN and is incompatible with the current version |
---|
docker build
or docker pull
The Dockerfile can be used directly to build
an image from scratch.
Build with Dockerfile
:
git clone https://github.com/ashiqopu/docker-minindn cd docker-minindn
docker build -t minindn .
docker run -m 4g --cpus=4 -it --rm --privileged \ -v /lib/modules:/lib/modules \ minindn bin/bash
Pull from hub:
Open a terminal and type:
docker pull marahman/minindn:v0.2
You can then access the container through shell with,
docker run -m 4g --cpus=4 -it --rm --privileged -e DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v /lib/modules:/lib/modules \ marahman/minindn:v0.2 bin/bash
--privileged
is mandatory for underlying Mininet to utilize virtual switchrun
is /mini-ndn
containing the installation and examples.