-
Notifications
You must be signed in to change notification settings - Fork 182
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
Running the rstudio image in Openshift #747
Comments
I don't know about openshift but https://rocker-project.org/use/rootless-podman.html and https://rocker-project.org/use/singularity.html may help for rootless usage. |
@eitsupi thank you for the response. I have been able to run the image as expected with podman on my local machine which is great. When I try to deploy a container to openshift using the same image I get the above permission error which I believe relates to the random UID assigned by openshift to run the container. I raised the question in the hope that either somebody had already found a way to around this problem or that the image could be updated to account for the constraints in an openshift environment. |
i am facing a similar issue. The workaround is to handle this at openshift SCC level, however, this makes the environment less secure, which is not a nice thing. It would be great to having a solution at build level itself. |
The security constraints imposed by OpenShift are similar to what unprivileged users on a typical HPC cluster would be subject to, and the approach for running Rocker RStudio Server with SingularityCE/Apptainer (invoking Alternatively, there is some recent support for RStudio Server in Red Hat OpenShift AI (if your institution has paid for Red Hat OpenShift AI): |
Container image name
rocker/rstudio:4.3.2
Container image digest
ca8f94e1c482afe7c72c9904b4bdf79b6fdf2edf44a5c30b53469bb5f390e38f
What operating system related to this question?
Linux
System information
Openshift version: 4.13.27. OS version: Red Hat Enterprise Linux CoreOS 413.92.202312131705-0. Container runtime version: CRI-O 1.26.4-5.1.rhaos4.13.git969e013.el9
Question
Hi, I'm trying to run the rstudio container image on Openshift and get the following error:
s6-overlay-preinit: fatal: unable to mkdir /var/run/s6: Permission denied
Do you have support/any advise for running on Openshift?
A similar issue has been raised previously (rocker-org/rocker#295) but it isn't clear to me that this was resolved?
The text was updated successfully, but these errors were encountered: