These are chat archives for resin-io/chat
node_modules/resin-cliafter install? Looks like it has at least
bin/resinin it (since that is what is looking for
resin-cli/build, and it's in the stack trace). What else is present?
INITSYSTEM onin your Dockerfile, or you start you script with a bash script, those governing processes will prevent the container from restarting. So most likely you just need to disable the INITSYSTEM if you want this auto restart behaviour