/Omics_Notebook_Rstudio

Container for running Omics_Notebook in interactive Rstudio.

Primary LanguageR

Docker container for Omics Notebook in Rstudio

1. Clone repo and build docker container

change name for project

git clone https://github.com/bblum9/Omics_Notebook_Rstudio.git
docker build -t 'rstudio_on' .

Or pull from docker hub.

docker pull bblum/omics_notebook_rstudio:latest

2. Run docker for RStudio

change container name based on project

change volumes based on install

echo Running rstudio on localhost:8787  
docker run --rm -it \
  -p 8787:8787 \
  -e PASSWORD=yourpasswordhere \
  -v ${PWD}:/home/rstudio:rw \
  -v /PATH/TO/OMICS NOTEBOOK:/home:rw \
  -v /PATH/TO/DATA ANALYSIS DIR:/data:rw \
  rstudio_on

3. Open in browser

username is "rstudio"

echo Launching browser                                                   
open http://localhost:8787