- Clone the repo locally
git clone https://github.com/dktanwar/urpp_docker.git
- Enter into directory
cd urpp_docker
- Build image locally and call it as bsseq
docker build . -t bsseq
- Enter into container while mounting directory
docker run --rm -it --entrypoint /bin/bash -v /mnt/:/home/rstudio bsseq
You are mounting /mnt/
of your computer to /home/rstudio
of container
- Go to the mounted place
cd /home/rstudio
Here, you would see the content of /mnt/
of your computer
- Make a project directory somewhere on
/home/rstudio/where/you/want
cd /home/rstudio/where/you/want
create_project myProject
cd myProject
- Run your analysis Here, you would see the structure from dktanwar/project_structure
docker run --rm -p 8780:8787 -e PASSWORD=pass bsseq
docker run --rm -p 8780:8787 -e PASSWORD=pass -v /mnt/:/home/rstudio bsseq
docker run -p 3838:3838 --rm bsseq /usr/bin/shiny-server