Sign inSign up

thegillis/nginx-as-root-hack

By thegillis

•Updated over 8 years ago

Used for running nginx as root. Needed for Kubernetes volume.

Image
0

1.7K

thegillis/nginx-as-root-hack repository overview

⁠docker-nginx-as-root-hack

Dockerfile for running nginx as root

⁠Kubernetes

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.

Tag summary

Content type

Image

Digest

sha256:55993a4a9…

Size

42.5 MB

Last updated

over 8 years ago

docker pull thegillis/nginx-as-root-hack