The environment contains an instance of Rstudio server, useful for interactive analysis or quick development.
The current working directory is mount as app
.
Build the image with
docker build -t image_tag .
run a persistent container with
docker run -d -p 8787:8787 -e PASSWORD=your_password -v `pwd`:/app image_tag
To use Rstudio server
point your browser to localhost:8787, log with user/password rstudio/your_password
.
For advanced R enviroment management, please read Reproducible Environments.
For more R docker containers, read rocker.