Dockerfile for RStudio Server
Build images.
# RStudio Server with tidyverse
$ docker image build -t dceoy/rstudio-server:latest ./latest
# RStudio Server without additional packages
$ docker image build -t dceoy/rstudio-server:slim ./slim
Default username and password:
- username:
rstudio
- password:
rstudio
Run a server.
$ docker container run --rm -p 8787:8787 -v ${PWD}:/home/rstudio -w /home/rstudio dceoy/rstudio-server
Run a server with docker-compose.
$ docker-compose -f /path/to/docker-rstudio-server/docker-compose.yml up