Dillon Hammill 2023-03-10
Docker development environment for CytoExploreR Version 2.0.0
This repository contains a dockerfile and associated build instructions to launch a CytoExploreR v2.0.0 RStudio environment for testing, development or benchmarking.
The pre-built docker images are available for download (amd64 platform)
from docker hub: docker pull dhammill/cytoexplorer-devel:v2.0.0
.
This docker image contains:
- Ubuntu 18.04
- FFTW
- FIt-SNE executable
- Open-source cytoverse packages
- CytoExploreRData datasets
- CytoExploreR
- tidyverse packages
-
Clone this repository to obtain a local copy:
git clone https://github.com/djhammill/CytoExploreR-Docker.git
-
From the terminal/command prompt build and tag the docker image:
docker build -t cytoexplorer-devel:v2.0.0 .
-
Check image has been built successfully:
docker image ls
-
Either pull down pre-built image from Docker Hub (
docker pull dhammill/cytoexplorer-devel:v2.0.0
) or build image locally as above. -
Run the CytoExploreR version 2.0.0 docker image inside a container and mount directory (edit /path/to/mount). Remove
dhammill
below if image was built locally.
docker run --rm -dit --mount type=bind,source=/path/to/mount,destination=/home/rstudio/project -p 8787:8787 -e PASSWORD=cytoexplorer dhammill/cytoexplorer-devel:v2.0.0
-
Open
localhost:8787
in a web browser. -
Log into the RStudio session using
username = rstudio
andpassword = cytoexplorer
.