wyveo / nginx-php-fpm

Nginx + PHP-FPM 8.2.x / 8.1.x / 8.0.x / 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian (Bullseye/Buster) image
https://hub.docker.com/r/wyveo/nginx-php-fpm
MIT License
345 stars 249 forks source link

Fails when run in OpenShift #8

Closed premkumar-gg closed 3 years ago

premkumar-gg commented 5 years ago

Running the image plain as such in OpenShift results in this error

sed: couldn't open temporary file /etc/nginx/sednQggFi: Permission denied
--
  | Error: Can't drop privilege as nonroot user
  | For help, use /usr/local/bin/supervisord -h

It makes sense as it is against the standard guidelines that a container when run should not require root privileges. https://opensource.com/article/18/3/just-say-no-root-containers

Happy to spend some time fixing it, if anybody advises on how to go about it.

colinwilson commented 5 years ago

I plan to update the images to accommodate this standard as soon as I find some time.