Skip to content
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

Support RStudio #138

Closed
2 tasks
achimnol opened this issue Feb 7, 2019 · 4 comments
Closed
2 tasks

Support RStudio #138

achimnol opened this issue Feb 7, 2019 · 4 comments
Assignees
Labels
comp:agent Related to Agent component
Milestone

Comments

@achimnol
Copy link
Member

achimnol commented Feb 7, 2019

rocker-org/rocker#295 (comment)
RStudio's execution model requires the root account since it manages non-root users by itself -- spawning a session in non-root user (usually "rstudio").

This conflicts with non-root single-user container scenarios, like us or OpenShift.

We need to support the followings in entrypoint.sh when running RStudio images:

To customize the agent and kernel-runner behavior, let's add new kernel labels:

  • ai.backend.run-as-root=1 to enable bypassing gosu. (default: disabled)
  • ai.backend.envs.userid=USERID to set additional environment variables to have the agent-indicated user IDs, similarly to ai.backend.envs.corecount. (default: empty)
@amalic
Copy link

amalic commented Aug 6, 2019

Can this be tested somewhere?

@achimnol
Copy link
Member Author

@amalic Currently this issue is not on our priority yet. Also we need to figure out installing and running RStudio without root permission.

@LiNk-NY
Copy link

LiNk-NY commented Aug 21, 2019

+1 It would be good to have this working. Thanks @achimnol

@achimnol achimnol transferred this issue from another repository Feb 5, 2020
@achimnol achimnol added this to the Bank milestone Feb 5, 2020
@achimnol achimnol added comp:agent Related to Agent component type:feature Add new features labels Feb 5, 2020
@achimnol
Copy link
Member Author

Now we have a working RStudio image internally, as the issues mentioned here are resolved in their side.
But there is a usability issue related to HTTP/HTTPS redirection, because our application proxy uses HTTPS on production while the RStudio uses HTTP. In many other in-container apps such as Jupyter just work with SSL termination in Backend.AI's app proxy but RStudio requires some extra work to make it working.

Stay tuned!

@achimnol achimnol removed the type:feature Add new features label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:agent Related to Agent component
Projects
None yet
Development

No branches or pull requests

5 participants