GitHub - jmgirard/rstudio2u: Docker image adding RStudio to r2u (original) (raw)

rstudio2u

Adds RStudio Server, pandoc, and Quarto to r2u, works on AMD64 and ARM64 (e.g., Apple Silicon)

Binary package installation from within R via bspm for faster installs and smaller image size

Tag Compressed On Disk R version
noble-amd64 646.91 MB 2.13 GB 4.5.0
noble-arm64 645.06 MB 2.89 GB 4.5.0

Use Examples

Option 1: Pull and run from Dockerhub

  1. Install and open Docker Desktop
  2. Enter the following command in your terminal
docker pull jmgirard/rstudio2u  
docker run --rm -p 8787:8787 -e PASSWORD=pass -t jmgirard/rstudio2u  
  1. Navigate to https://localhost:8787 and enter user rstudio and password pass
  2. Whenever you use install.packages() or update.packages(), it will use bspm
  3. When done, open Docker Desktop and end the container
  4. Next time, you don't need to run docker pull... again

Option 2: Clone, build, and compose

  1. Install and open Docker Desktop
  2. Install Git
  3. Enter the following command in your terminal
git clone https://github.com/jmgirard/rstudio2u  
cd rstudio2u  
docker-compose up --build  
  1. Navigate to https://localhost:8787 and enter user rstudio and password pass
  2. Whenever you use install.packages() or update.packages(), it will use bspm
  3. When done, open Docker Desktop and end the container
  4. Next time, you don't need to run git clone... again

Derivative Images