Home

Awesome

eplusr-docker

Dockerfiles for working with EnergyPlus and R

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

Overview

rocker

imagedescriptionmetrics
eplusrR with eplusr installed & EnergyPlus specified installed

This repository provides Dockerfiles for working with EnergyPlus in R via eplusr package, based on rocker/rstudio:4.1.0 and rocker/verse:4.1.0 container.

Supported EnergyPlus versions

All releasees starting from v8.3.0 are supported. Users can include the version tag of EnergyPlus, e.g. hongyuanjia/eplusr:9.1.0, or use the default latest tag, e.g. hongyuanjia/eplusr for the most up-to-date EnergyPlus.

The default upstream container is rocker/rstudio:4.1.0. But you can add a suffix -verse to get a rocker/verse:4.1.0 based container, e.g. hongyuanjia/eplusr:9.1.0-verse, hongyuanjia/eplusr:latest-verse.

Quickstart

docker run --rm -p 8787:8787 -e PASSWORD=yourpasswordhere hongyuanjia/eplusr

Visit http://localhost:8787 in your browser and log in with username rstudio and the password you set. NB: Setting a password is now REQUIRED. Container will error otherwise.

Common configuration options:

Install a different version of EnergyPlus

Sometime you may want to install another version of EnergyPlus along side with current EnergyPlus you are specified. There are two ways to do so:

Bypassing the authentication step

Warning: use only in a secure environment. Do not use this approach on an AWS or other cloud machine with a publicly accessible IP address.

Simply set the environmental variable DISABLE_AUTH=true, e.g.

docker run --rm -p 8787:8787 -e DISABLE_AUTH=true hongyuanjia/eplusr

Navigate to http://localhost:8787 and you should be logged into RStudio as the rstudio user without needing a password.

More help

License

The Dockerfiles in this repository is licensed under the GPL 2 or later.

Trademarks

RStudio is a registered trademark of RStudio, Inc. The use of the trademarked term RStudio and the distribution of the RStudio binaries through the images hosted on hub.docker.com has been granted by explicit permission of RStudio. Please review RStudio's trademark use policy and address inqueries about further distribution or other questions to permissions@rstudio.com.