Docker container with R, RStudio, various spatial packages, and the tidyverse, based on the rocker/geospatial image.
How to use
Download and run this image using the following commands:
docker pull earthlab/rstudio-spatial docker run -i -t earthlab/rstudio-spatial /bin/bash
To use Rstudio:
docker run -d -p 8787:8787 earthlab/rstudio-spatial
In a web browser, navigate to localhost:8787 (on linux) or on a Mac, substitute the location pointed to by
docker-machine ip default for
Log in with username: rstudio, password: rstudio.
If you want to share a directory between your host machine and the container, use the
-v flag in your call to
docker run, as described here.
For more information on how to take full advantage of RStudio in this image, see https://github.com/rocker-org/rocker/wiki/Using-the-RStudio-image.