...
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:
...
Now we have OpenNSA running, we need to create a Docker image that contains our OpenNSA software. We will later use this image in such a way that any changes in the OpenNSA repository (pointed to by $OPENNSA) will be reflected in any Docker container that uses this image. The Docker image you create now will be stored on your local machine. Our setup also uses a Docker image containing the Postgresql DBMS, but this is downloaded from some central location.
Now lets create the OpenNSA Docker image :
cd $OPENNSA
docker build -t opennsa_img -f docker/Dockerfile .
Run openNSA Docker images using docker-compose
...