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
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
echo Launching browser
open http://localhost:8787