This Singularity image is intended to serve as base for all project images.
By default it starts up RStudio with an auto-selected port and password
Run a singularity-rstudio-base container with singularity run shub://granek/singularity-rstudio-base
It is recommended to do one of the following when running this image. There is no need to do both:
- Set "mount tmp = no" in
/etc/singularity/singularity.conf
. - If #1 is not an option, the following command can be used to bind mount
/tmp
in the container to a "private" tmp directory:
SINGTMP="/tmp/${USER}_$$_tmp"; mkdir -p $SINGTMP; singularity run --bind $SINGTMP:/tmp shub://granek/singularity-rstudio-base
If a second user tries on the same server tries to run an RStudio container they will have permission issues with /tmp/rstudio-server
, which will be owned by the user who first ran an RStudio container.