Problems running RStudio via podman?

For sure it can, it has permission “network” and can access all network devices reachable by the host. What happens if you open the development toolbar (F12) and switch to the network pane. Then load the URI.

To verify if the port has been published correctly, run:

sudo netstat -nap | grep 8787.*LISTEN

What is the output of this command?

/edit 1:
Just pulled the container and tested it, got the following message in the browser:
image
This means, that the port has been published on the host side, but is not connected inside the container to some process. Getting some error messages inside the container, continuing analysis

/edit 2:
works
Run with

podman run -ti --ulimit="nofile=4096" -p 8787:8787 -e PASSWORD=test rocker/rstudio sh

Then, when inside the container, start the needed services with

/init

Now you can open RStudio in the Browser:


Theres discussion about this, seems like its a bug (it’s closed but still there …)