- Docker RStudio sever with Bioconductor
git clone https://github.com/achiral/rbioc.git
cd ./rbioc
- change Docker image (ex.
bioconductor/bioconductor_docker
=>FROM docker-ID/docker-image:latest
) - install R packages (see below exampe codes)
RUN install2.r pkgname1 pkgname2
RUN Rscript -e "install.packages('vector_of_package_names')"
RUN Rscript -e 'BiocManager::install("vector_of_package_names")'
- rename Docker image (ex.
image: docker-ID/docker-image:latest
)
- change password password:
pw
=><your_password>
- delete environment option:
- DISABLE_AUTH=false
=>true
(without password sign in)
docker-compose up --build -d
localhost:8787
(rstudio
/pw
(default) or <your_password>
)
docker-compose stop
docker-compose start
without update
docker-compose up --build -d
with update
docker cp <host directory> <container name>:<container ditectory>
docker cp <container name>:<container directory> <host directory>