Used for running nginx as root. Needed for Kubernetes volume.
1.7K
Dockerfile for running nginx as root
Obviously this is not the most secure setup. The main reason for this quick hack is that Kubernetes appears to mount "emptyDir" volumes as root:root 750. This means it does not even work for reading.
This hack at least got me up and running as a demo.
Content type
Image
Digest
sha256:55993a4a9…
Size
42.5 MB
Last updated
over 8 years ago
docker pull thegillis/nginx-as-root-hack