Docker doesn't really do anything with the '/quit'. However, changing from 'quit' to 'serverprocess.kill("SIGINT");' solved this issue. The node exits with: '[dumb-init] Child exited with status 0. Goodbye.'