Skip to content
Snippets Groups Projects
Commit 7e69d03b authored by Alisandra Denton's avatar Alisandra Denton
Browse files

make usernames match

parent 0e6a4ae9
No related branches found
No related tags found
No related merge requests found
FROM rocker/r-ver:latest
RUN useradd --create-home --shell /bin/bash ZIM-gast
RUN mkdir /home/ZIM-gast/rnaseq-workshop
RUN useradd --create-home --shell /bin/bash zim-gast
RUN mkdir /home/zim-gast/rnaseq-workshop
LABEL org.opencontainers.image.licenses="GPL-2.0-or-later" \
org.opencontainers.image.source="https://github.com/rocker-org/rocker-versioned2" \
......@@ -37,7 +37,7 @@ RUN Rscript -e "devtools::install_github('pachterlab/sleuth')"
EXPOSE 8787
WORKDIR /home/ZIM-gast/rnaseq-workshop
WORKDIR /home/zim-gast/rnaseq-workshop
#CMD ["bash"]
CMD ["/init"]
......@@ -3,14 +3,14 @@ sudo docker build -t rstudio --rm .
```
```
sudo docker run --rm -p 8787:8787 -e PASSWORD=rstudio --mount type=bind,source=${PWD}/rnaseq-workshop,target=/home/ZIM-gast/rnaseq-workshop rstudio
sudo docker run --rm -p 8787:8787 -e PASSWORD=rstudio --mount type=bind,source=${PWD}/rnaseq-workshop,target=/home/zim-gast/rnaseq-workshop rstudio
```
Then go to 'localhost:8787' in the browser on the host machine.
username and password are both 'rstudio'.
once rstudio is open, you will need to run `setwd('/home/ZIM-gast/rnaseq-workshop/')`
once rstudio is open, you will need to run `setwd('/home/zim-gast/rnaseq-workshop/')`
To create tar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment