Skip to content

RStudio geospatial Docker container recipes for CyVerse VICE

License

Notifications You must be signed in to change notification settings

cyverse-vice/rstudio-geospatial

Repository files navigation

Project Supported by CyVerse Project Status: Active – The project has reached a stable, usable state and is being actively developed. DOI license

rstudio-geospatial

Based on the Rocker-Project.org Docker RStudio verse container for CyVerse Discovery Environment (DE) data science workbench. CyVerse DE requires additional configuration files (e.g. nginx) to be compatible with Kubernetes orchestration.

An Introduction to Rocker: Docker Containers for R Carl Boettiger and Dirk Eddelbuettel, The R Journal (2017) 9:2, pages 527-536. https://doi.org/10.32614/RJ-2017-065

The RockerVerse Daniel Nüst, Dirk Eddelbuettel, Dom Bennett, Robrecht Cannoodt, Dav Clark, Gergely Daróczi, Mark Edmondson, Colin Fay, Ellis Hughes, Lars Kjeldgaard, Sean Lopp, Ben Marwick, Heather Nolis, Jacqueline Nolis, Hong Ooi, Karthik Ram, Noam Ross, Lori Shepherd, Péter Sólymos, Tyson Lee Swetnam, Nitesh Turaga, Charlotte Van Petegem, Jason Williams, Craig Willis and Nan Xiao , The R Journal (2020) 12:1, pages 437-461. https://doi.org/10.32614/RJ-2020-007

quick launch

Instructions

Run this Docker locally or on a Virtual Machine

To run these containers, you must first pull them from DockerHub

docker pull harbor.cyverse.org/vice/rstudio/geospatial:latest
docker run -it --rm -v /$HOME:/app --workdir /app -p 8787:80 -e REDIRECT_URL=http://localhost:8787 harbor.cyverse.org/vice/rstudio/geospatial:latest

The default username is rstudio and password is rstudio1. To reset the password, add the flag -e PASSWORD=<yourpassword> in the docker run statement.

Build your own Docker container and deploy on CyVerse VICE

This container is intended to run on the CyVerse data science workbench, called VICE.

Unless you plan on making changes to this container, you should just use the existing launch button above.

Developer notes

To build your own container with a Dockerfile and additional dependencies, pull the pre-built image from DockerHub:

FROM harbor.cyverse.org/vice/rstudio/geospatial:latest

Follow the instructions in the VICE manual for integrating your own tools and apps.