Versions Compared

Key

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

...

NOTE: Once we have an NDSDEV image circulating (potentially in DockerHub?), this step should no longer be necessary.

...

Build the NDSDEV image:

Execute the following command at the project root to create a Data Container from the source codebuild up the ndsdev image:

. ./devtools/ndsdev/create-data-volume.shndsdevctl build

This will create a data container will to hold the source code mapped to your host VM. This will should allow your code / changes to survive container restarts.

NOTE: It is interesting to note that you should be able to access the data on any volumes defined by the container without it needing to run.

Building Development Environment (NDSDEV)

Run or remove a container from the NDSDEV image:

You should then be able to run this image usingExecute the following command at the project root to build up the ndsdev image:

. ./devtools/ndsdev/ndsdevctl buildrun

Stop the container and remove it from docker (i.e. clean)You should then be able to run this image using:

. ./devtools/ndsdev/ndsdevctl runrm

NDSDEV Usage

To start a stopped NDSDEV container:

...

. ./devtools/ndsdev/ndsdevctl restart

Stop the container and remove it from docker (i.e. clean):

. ./devtools/ndsdev/ndsdevctl rm

 

Tips and Tricks

Leave container running, but temporarily exit its shell:

...