I've searched and can't seem to find the answer to this error. "Error: Can't drop privilege as nonroot user" when I create a new VM.
The container keeps restarting. It works just fine on my local MacOS machine.
I'm trying to run the image on a Google Compute Engine VM with the Container Optimized OS. I'm using nginx, php-fpm, and alpine.
The supervisord.conf file looks like this:
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=/run/supervisord.pid
user=root
[program:php-fpm]
command=php-fpm8 -F
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autostart=true
autorestart=true
priority=5
stdout_events_enabled=true
stderr_events_enabled=true
[program:nginx]
command=nginx -g 'daemon off;'
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=false
startretries=0
Anyone bumped into this error too?