UAB HPC user session demo - reproducibility with R using Docker
167
A container built for the demonstration of environment reproducibility with R using Docker for the UAB HPC User Session (December 2020). Built using rocker/rstudio base image (rocker/rstudio:3.6.3), an RStudio session can be launched containing dependencies for ggplot2.
The tutorial linked to this repository can be viewed at: https://gitlab.rc.uab.edu/circ_nbi_share/docker_with_r_user_session/intro_docker_rstudio_part1
To launch an RStudio session using the container:
docker run -d --rm -p 8787:8787 -e PASSWORD=NBI lianov/rstudio_ggplot2:3.6.3
(The password can be set to any string. The username is rstudio)
After the run command, visit localhost:8787 in your browser.
The container has a directory /home/rstudio/data_mount which is ideal for mounting purposes to give access to the container for data or scripts present in your OS.
To mount your current working directory run:
docker run -d --rm -p 8787:8787 -e PASSWORD=NBI -v `pwd`:/home/rstudio/data_mount lianov/rstudio_ggplot2:3.6.3
Sample data and a script is available at /home/rstudio/data_plots
Contact: Lara Ianov, PhD - [email protected]
Content type
Image
Digest
Size
475.6 MB
Last updated
almost 6 years ago
docker pull lianov/rstudio_ggplot2:3.6.3