Ubuntu – Shell script works when run manually but does not when run at docker container startup
I installed Docker on a Synology NAS. I created a container that runs an ubuntu that runs a website server. To launch my service (named "dodoc"), I use npm and pm2. So when my container start, I have to manually…