From e99414de7974ba0cb70306a9146594ca0f2e9200 Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Fri, 16 Aug 2024 16:09:16 +0200 Subject: [PATCH] Clarify root user usage for rstudio when rootless (#117) Closes https://github.com/rocker-org/rocker-versioned2/issues/844 Thanks to @Tianmaru for finding and reporting the issue --- images/versioned/rstudio.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/versioned/rstudio.md b/images/versioned/rstudio.md index 999a9a1..b984402 100644 --- a/images/versioned/rstudio.md +++ b/images/versioned/rstudio.md @@ -55,6 +55,10 @@ docker run --rm -ti -p 8787:8787 rocker/rstudio The non-root default user `rstudio` is set up as RStudio Server user, so please enter the username `rstudio` and a randomly generated password which is displayed in the console to the RStudio login form. +If your container system runs rootless, you will have to use the `root` +user to login instead, using the randomly generated password displayed in the console. In this case the privileges of the `root` user +in the container are already bounded by your regular user permissions +in the host system. RStudio will not start if the default command (`/init`) is overridden. To use R on the command line, specify the `R` command as follows.