This directory contains code to build a docker nmag container based on Ubuntu 12.04.
In order to build the container run docker build -t nmag .
from the current directory
You can start the nmag environment using docker run -it nmag
.
To give the nmag environment access to the current directory and its children, use the format docker run -it -v $PWD:/mnt nmag
.
Use the sphere1 simulation included in the current directory to test the container like so:
docker run -it -v $PWD:/mnt nmag
$ nsim sphere1.py