So, if I start Discourse (and thus docker) via
sudo /var/discourse/launcher start <config> all the docker processes run as the user who ran sudo… let’s say for example that user is
If I do
top -u bob, I see all of the discourse processes (
Is there any way to change this behavior?
bob isn’t the semantically correct user for all the discourse processes to be running as, regardless of the fact that I technically launched discourse as that user. Is the only alternative running the launcher from the
root user directly? or can I specify a user from the launcher script to run these processes as?
As far as I understand docker, it’s supposed to be running as root, which is why the processes running under
bob surprised me.