docker-nginx-unprivileged

(β˜… 472)

Unprivileged NGINX Dockerfiles

  • .gitignore
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • Dockerfile-alpine-otel.template
  • Dockerfile-alpine-perl.template
  • Dockerfile-alpine-slim.template
  • Dockerfile-alpine.template
  • Dockerfile-debian-otel.template
  • Dockerfile-debian-perl.template
  • Dockerfile-debian.template
  • LICENSE
  • README.md
  • SECURITY.md
  • SUPPORT.md
  • update.sh

# Installation Guide

1. Get the code
git clone https://github.com/nginx/docker-nginx-unprivileged

Downloads the entire project code from GitHub to your computer.

cd docker-nginx-unprivileged

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build --build-arg UID=<UID> --build-arg GID=<GID> -t nginx-unprivileged .

Builds a runnable image based on the Dockerfile.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

// repository documentation