{"repo":"nginx/docker-nginx-unprivileged","free":true,"listed":false,"github":"https://github.com/nginx/docker-nginx-unprivileged","clone":"git clone https://github.com/nginx/docker-nginx-unprivileged.git","description":"Unprivileged NGINX Dockerfiles","language":"Dockerfile","stars":472,"topics":["docker","nginx","alpine","debian"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"NGINX Unprivileged Docker Image This repo contains a series of Dockerfiles to create 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 8080 instead of 80 (this is no longer necessary as of Docker 20.03 but it's still required in other container runtimes) - The default NGINX user directive in /etc/nginx/nginx.conf has been removed - The default NGINX PID has been moved from /var/run/nginx.pid (prior to NGINX 1.27.5) and /run/nginx.pid (NGINX 1.27.5 and later) to /tmp/nginx.pid - Change temp path variables to /tmp/ Check out the docs for the upstream Docker NGINX image for a detailed explanation on how to use this image. Supported Image Registries and Platforms Image Registries You can find pre-built images in each of the following registries: - Amazon ECR - - Docker Hub - - GitHub Container Registry - - Note : For releases prior to NGINX 1.27.4 (mainline branch) and 1.26.3 (stable branch), use the old registry link - Quay - Image Builds and Retention Policy Image Builds New images are built whenever there is a new NGINX release or a critical CVE is found and fixed (check the security documentation for more details). New images are also built and pushed to all registries on a weekly basis every Monday night. Whenever a new image is built, the current NGINX mainline and stable tags get switched to the latest build, and the image that gets repl","default_branch":null,"files":null,"tree":[],"storefront":"/r/nginx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nginx/docker-nginx-unprivileged/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}