Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creating an OpenNSA image from a Dockerfile

The openNSA requirements are pretty low (python 2.7 twisted app), so creating the following dockerfile was easy:

...

docker build -t opennsa_img -f build/config/docker/Dockerfile .


Run openNSA Docker images using docker-compose


You can create a single docker container (virtual machine)
with a command like:

...

When you want to connect to a running container, you can use
the following:

docker ps <look up the name of the running container>
docker exec -i -t opennsa-ams /bin/bash


A more realistic openNSA Docker setup



When simulating the GTS network of openNSA nodes, the nodes have to be able to contact each other. So we are going to assign them their own network (only two hosts are shown):

...