CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file

New to dockers. I created my own image, and after I build the image and try to run in docker desktop I get the following error message. Help…

1 Like

So much you will have to learn you are talking about Docker containers, not Dockers (totally different company)

Regarding your issue ass the error message says, you run supervisor as root and you shouldn’t. So you can check the supervisord documentation and find out how not to run it as root

http://supervisord.org/running.html#running-supervisord

But let’s talk about the Docker side when you run the process as a non-root user. Good search term is “docker image user”

Otherwise by default all processes run as root inside the container.

1 Like

Thanks. You are not kidding when you said that I have a lot to learn. You second article was super helpful. Gain thanks.

1 Like