I’m using the
resin/raspberrypi3-node image on a Resin application, and the container fails to output terminal logs to the main Resin dashboard.
After doing a little hunting as to how the output from the container would be suppressed, I came across this github issue that states at some point that only the process with PID 1 will output from the container. I believe this is happening in the node container I’m trying to use - when I run
ps aux, PID 1 is
root 1 ... /sbin/init quiet systemd.show_status=0, the systemd init process. This process is initiated from this line in my Dockerfile,
ENV INITSYSTEM on. The process that I would like to output to the terminal is the main
/bin/bash process that just invokes
- Do I need the systemd step if all I’m doing is running
npm startin this container? Is something happening in the underlying
resin/raspberrypi3-nodecontainer that needs this?
- Can I switch the process that I want into place to get its output instead?