Closed stubclan closed 4 years ago
Note that -e ROOT=TRUE
is just an environmental variable, I believe you can set that at runtime in your kubernetes without writing a custom Dockerfile. (Note that this gives the rstudio
user sudo permissions, it doesn't make RStudio run as the user root
).
Also, while I don't use Kubernetes at the moment, I strongly suspect you can mount to a different volume other than a root-owned one, including mounting a separate volume container etc.
I am having issue with adding Volume mount in Kubernetes.