-
Notifications
You must be signed in to change notification settings - Fork 169
running Rstudio container with podman #187
Comments
I think @nuest has some experience running rocker images with podman? I haven't tried it myself. This may be related to rocker-org/rocker#348. We'll be trying to better integrate & improve community documentation in the coming months (cc @noamross). It might help if you could share some of your motivations for using |
Thanks for the reply and the link to the other repo. I would call it personal interest, since the In addition I like the simplicity of just building your image with a How I ended up here: I was able to transfer the build process from the Dockerfile of r-ver into a bash script running the build process with edit: And in addition |
So it is about edit: since the origin of the error occurs somewhere in some C++ code, it has to be a buildin |
So which type of resource limit is set in the function Thanks for any directions. |
From memory you can do it from bash but some limit settings may require sudo. |
Sorry, I was not very clear want I meant and sorry again for spreading it over two issues. I tried setting resource limits with Maybe So thats why ended with asking: So which type of resource limit is set in the function setResourceLimit? Does anyone know who to tag to this issue or who to ask? @jspiewak @colearendt @jcheng5 @meatballhat @rich-iannone: any idea who to talk to about this? Any interest in investigating? Thanks for any help. |
The open source version of RStudio is available here. For the version of RStudio you appear to be running, that would be ServerMain.cpp:478:
|
Thanks you. I assumed that RStudio != RStudio server, but thank you for pointing out the repo. |
So this work using the following options. Thanks to all for pointing me in the right direction. works
does not work
Using buildah
|
@FelixErnst very cool, thanks much for sharing the results of your investigation here! |
Thanks for the ping @cboettig - I made some experiments a while back, all documented in https://github.com/nuest/rodman I got plain R working, but ran into permission problems with RStudio, so great to see @FelixErnst could solve those! I added a link to this issue in my repo's README file and am looking forward to the community documentation coming up and will be happy to contribute. |
update: the issue I have, better relates to rocker-org/rocker-versioned2#373, than this issue. I am getting a similar error with singularity. Interestingly the same cmd worked a few weeks back, but gives an error with the latest pull:
I tried to see the ulimit like @FelixErnst suggested, it seems to be set to
Don't think it is related, but I saw these warning when creating the image:
|
This doesn't mean a thing, if singularity from the outside uses a limit. The solution was to direct podman what limits to use and not the container system itself. See my examples above. So it might well be, that for singularity a limit was added. Best place to start is to report to them and not the image maintainer and look for the settings for singularity managing the limits |
Hi,
I played around with buildah and podman and tried to get a rocker container to work with podman.
However, when I ran the container and attached the following error kept on repeating, which suggest some start up problem of rstudio service.
Any suggestion, what might cause this and how to solve the problem?
Thanks for any advice
Container was started like this
PS:
I also tried to build the container with buildah following the commands in the Dockerfile. Upon installing the deb it stop with basically the same error message using the
buildah run $rstudio bash -c "dpkg -i rstudio-server-*-amd64.deb"
command.The text was updated successfully, but these errors were encountered: