docker_singularity/README.md

Docker and Singularity Images

This folder documents the required steps in working with Docker and Singularity images.

Singularity

TBD

Docker

Option 1: Create an image from a recipe

docker build -t gpcerf_dev . 

Step 5: Get the path for the project on your system Step 6: Update the path in the following command and spin up the container.

docker run -it --rm \
        -p 8230:8787 \
        -e USER=rstudio \
        -e PASSWORD=pass \
        -v "/path/to/your/folder/on/host:/home/rstudio/Project" gpcerf_dev

Option 2: Use the available image from Docker Hub

All NSAPH-Software images are located at NSAPH Docker Hub repository.

Run the following code to download and spin up the image.

docker run -it --rm \
        -p 8231:8787 \
        -e USER=rstudio \
        -e PASSWORD=pass \
        -v $PWD:/home/rstudio/Project nsaphsoftware/gpcerf_dev



boyuren158/GP-CERF documentation built on April 14, 2024, 10:25 a.m.