In case you find yourself using NodeJS for backend scripting, you can use the power of API calls to manage your Docker containers.
Docker has shell bin commands but it's nice to know the remote API calls so an application can remotely control your containers. This document shows how to setup your docker service (inside Centos 7) to expose the API port.