Unable to create a deployment in openshift Developer sandbox

While creating a sample nginx deployment on openshift Developersandbox I have come across this error.
I even tried updating the SCC but my user doesn’t have enough privileges to do it.
Can anyone who has already solved or come across this issue please let me know how I can resolve it?
nginx: [warn] the “user” directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2

32024/07/17 03:23:19 [emerg] 1#1: mkdir() “/var/cache/nginx/client_temp” failed (13: Permission denied)

4nginx: [emerg] mkdir() “/var/cache/nginx/client_temp” failed (13: Permission denied)

I can’t help you with the specifics of OpenShift security, because OpenShift is not my bag.

It appears that security policy is preventing the nginx container from running as root, and the configuration directive it is complaining about requires nginx to be running as root.

If you don’t have the privilege to adjust the policy, then you need to ask a cluster admin to either do it or suggest an alternative.

Use this image nginxinc/nginx-unprivileged instead of nginx:latest