-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No RStudio User #844
Comments
IMHO this means that either
or
@Tianmaru What you describe is the expected behaviour – for both cases. Footnotes
|
If one does not set rocker-versioned2/scripts/init_userconf.sh Lines 13 to 17 in 1cda649
This is all by design (thanks to @zeehio) and works as intended. |
Hi @Tianmaru, Docker by default is installed in root mode, meaning that you must have root permissions to run containers. You can set up docker in rootless mode to be able to run containers as a regular user in a safe way. Apparently you did that, (great!). It would be nice to know if you are aware of that setup. When you run docker in rootless mode, your containers appear to run under the The rocker image detects it is running in rootless mode, and reports to you that you should be using the
My proposal would be to clarify the paragraph in the website: Current:
Proposed:
@Tianmaru, do you think this change would address your issue? Thanks! |
Sorry, it seems like I wasted your time due to my lack of experience with docker - yes, docker is indeed running in rootless mode, so everything is working as expected. However, I think the proposed change of the website helps to clarify the login situation nonetheless. Thank you! |
I liked your issue because (1) it helps clarify the documentation and (2) it shows rootless docker works quite well with rocker images. Thanks for reporting this! |
When I start a Rstudio Server Docker container via
docker run --rm -ti -p 8787:8787 rocker/rstudio
, it apparently deletes therstudio
user. Although the website instructs to login as userrstudio
with the generated password, the login is only possible asroot
:When running the container in interactive mode, an error message about the missing user
rstudio
is shown when attempting to login:I had to add
-e RUNROOTLESS=false
for being able to login withrstudio
. I think this should be mentioned on the website.The text was updated successfully, but these errors were encountered: