Docker images providing RStudio Server and the R package ‘Luminescence’
Image | Subfolder | Size | Build type | Metrics | Run image |
---|---|---|---|---|---|
rlum/core | core | docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/core |
|||
rlum/stable | stable | docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/stable |
|||
rlum/dev | dev | docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/dev |
|||
rlum/archive | archive | docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/archive:<version> |
|||
rlum/drac | drac | docker run -d -p 80:80 rlum/drac:<version> |
The base image rlum/core
builds on top of rocker/rstudio:latest
(see the ‘rocker’-project by D. Eddelbuettel and C.
Boettiger) with additional
installs of:
- JAGS
- rgl
- devtools
- ggplot2
- tidyverse
- rmarkdown
rlum/stable
contains the following packages currently available on
CRAN:
- Luminescence
- RLumModel
- RLumShiny
rlum/dev
installs the latest development versions of these packages
via devtools::install_github()
from the following repositories:
- <R-Lum/Luminescence@dev_x.x.x>
- <R-Lum/RLumModel@dev_x.x>
- tzerk/RLumShiny@master
rlum/archive
provides static Docker images for each release version of
the R package ‘Luminescence’. See the table below for all available
images.
This repository also includes Dockerfiles to create docker images
running an Apache server with PHP 7.0
that hosts DRAC.
Pre-made images are available
here and can be run using docker run -d -p 80:80 rlum/drac:<version>
(replace <version>
with any of
the tags listed here). Once
the container has been started open your browser and open
http://localhost/.
Install docker
Please follow one of the following guides depending on your OS:
Run container
First, make sure that Docker has been successfully installed and that the Docker service is running. In your preferred command-line interface (bash, CMD, powershell, …) type in:
docker run -d -p 8787:8787 -e PASSWORD=yourpassword rlum/stable:latest
This command will automatically download (only once) and run the docker
image that includes RStudio with the R packages ‘Luminescence’,
‘RLumModel’ and ‘RLumShiny’ pre-installed. The -d
(or --detach
)
flag tells Docker to run the container in the background. With
-p 8787:8787
we further specify the port on which RStudio Server
listens to and with -e PASSWORD=yourpassword
we set a password for the
user RStudio
(required). The service should start immediately. The
RStudio interface is then available on http://localhost:8787
.
rlum/stable:latest
refers to the username (rlum
), repository
(stable
) and image tag (latest
). If you want to use an older version
of ‘Luminescence’ located in the archive
repository use
e.g. rlum/archive:0.4.4
.
Stop container
Copy and run the following line in the shell (this does not work in windows CMD!):
docker stop $(docker ps -a -q)