From 0aa5c6dd007d8e9a48bfcedcd475d77dedcd2038 Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Wed, 14 Aug 2024 17:00:57 +0200 Subject: [PATCH 1/2] Clarify root user usage when rootless Closes https://github.com/rocker-org/rocker-versioned2/issues/844 --- images/versioned/rstudio.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/versioned/rstudio.md b/images/versioned/rstudio.md index 999a9a1..1115316 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. 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. From 062622abd3f6536eec16a272a9ab953a80351ad9 Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Fri, 16 Aug 2024 15:40:11 +0200 Subject: [PATCH 2/2] Clarify password when running rootless --- images/versioned/rstudio.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/versioned/rstudio.md b/images/versioned/rstudio.md index 1115316..b984402 100644 --- a/images/versioned/rstudio.md +++ b/images/versioned/rstudio.md @@ -56,7 +56,7 @@ 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. In this case the privileges of the `root` user +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.