Closed macbre closed 1 year ago
Running containers as root is not the best practice (it violates the Principle of Least Privilege (PoLP) when superuser permissions are not strictly required) and nginx does not need to listen on ports from the range of 1-1023.
$ docker run --rm ghcr.io/macbre/nginx-http3:latest id nginx uid=100(nginx) gid=101(nginx) groups=101(nginx),101(nginx)
Running containers as root is not the best practice (it violates the Principle of Least Privilege (PoLP) when superuser permissions are not strictly required) and nginx does not need to listen on ports from the range of 1-1023.