NGINX Unprivileged Docker Image
This Dockerfile creates an NGINX Docker image that runs NGINX as a non root, unprivileged user. Notable differences with respect to the official NGINX Docker image include:
- The default NGINX listen port is now
- The default NGINX user directive in
/etc/nginx/nginx.confhas been removed.
- The default NGINX PID has been moved from
Docker Hub images are built for the
arm32v6 (for Alpine),
arm32v7 (for Debian),
s390x architectures and can be found at https://hub.docker.com/r/nginxinc/nginx-unprivileged.