This should make things slightly faster, and especially be more robust on shutdown, avoiding a child process execution (docker kill) upon ctrl-c = SIGINT. The latter seems to fail when debugging in VS Code is ended, at least the log output is cut off right before the docker kill child process.
Common library seems to be dockerode.