RStudio Rocker with Singularity

Hi,

I'm trying to use RStudio Server on a HPC with Singularity. Following the guidance here (https://www.rocker-project.org/use/singularity/), I run the following:

# Pull the container
singularity pull --name sing_conts/tidyverse.simg docker://rocker/tidyverse:latest
# Then attempt to execute on a node
bsub -Is "singularity exec sing_conts/tidyverse.simg rserver --www-address=127.0.0.1"

And I get the following error:

16 Feb 2021 14:05:15 [rserver] ERROR database error 7 (sqlite3_statement_backend::loadOne: attempt to write a readonly database) [description: Could not delete expired revoked cookies from the database, description: Could not read revoked cookies from the database]; OCCURRED AT virtual rstudio::core::Error rstudio::core::database::Connection::execute(rstudio::core::database::Query&, bool*) src/cpp/core/Database.cpp:480; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:729

Any assistance would be appreciated.

Ian

I think you will need to create a writable image. There are some instructions here: