fguilhaumon / sfrocker

An Example Of Using Rocker Geospatial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sfrocker

This research compendium shows a simple example of running an R spatial analysis into a Docker container (rocker/geospatial:4.0.3 image). User must have installed the Docker software available at: Get Docker

Usage

First clone this repository. Then on a terminal (make sure the 🐳 service is running), build the 🐳 image from the Dockerfile. This will knit the report/report.Rmd in a HTML document.

docker build -t nicolascasajus/sfrocker:1.0 .

Then, start a 🐳 container with:

docker run --rm -p 127.0.0.1:8787:8787 -e DISABLE_AUTH=true nicolascasajus/sfrocker:1.0

Finally, on a web browser visit the URL 127.0.0.1:8787 (this will start a RStudio Server) and open the report/report.html to see final report.

πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰ πŸŽ‰

About

An Example Of Using Rocker Geospatial

License:Other


Languages

Language:R 85.7%Language:Dockerfile 14.3%