A new template is available here: terashim/rproject
- Docker Desktop for Windows/Mac
- Docker 18.06+
- Browse terashim/rstudio-docker-project-template and use this template to create a new repository.
- Clone the repository to your local machine.
- Edit
_rstudio/Dockerfile
- change the base image, install packages, change global options, etc.
_rstudio/docker-compose.yml
- rename the image name
your-project-name:latest
- rename the image name
- Start the RStudio Server:
docker-compose up -d
- Browse http://localhost:8787 to connect to the local RStudio Server
- Open the R project
/home/rstudio/project/project.Rproj
- Do your analysis
- Stop the RStudio Server:
docker-compose down