Skip to content

Commit

Permalink
Clarify root user usage for rstudio when rootless (#117)
Browse files Browse the repository at this point in the history
Closes rocker-org/rocker-versioned2#844

Thanks to @Tianmaru for finding and reporting the issue
  • Loading branch information
zeehio authored Aug 16, 2024
1 parent 6535c6f commit e99414d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions images/versioned/rstudio.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e99414d

Please sign in to comment.