Docker Nginx vs Nginx Unprivileged and why it matters (a lot)
Introduction This is something that baffled me when I found out. And since the official Nginx docker image is downloaded over a billion times, I think it is very important to get this out. What is going on? So the official Nginx Docker image runs in what is called “privileged mode”. When you run a container in privileged mode you essentially run it as root. This means that the container has access to the complete underlying system. This in contrast to non-privileged mode where the container runs as a random user and group which doesn’t have access to anything but their own container. ...