Move to the docker container API instead of shelling out to use the command line in the nodejs code.
Command line was used as a way to get something up and running quickly but has issues when the container has to stop/restart due to it exiting under strange conditions.