docker_singularity/README.md

Docker and Singularity Images

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

Singularity

Topics related to the Singularity image are documented under Singularity vignette.

Docker

Option 1: Create an image from a recipe

docker build -t causalgps_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" causalgps_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 8230:8787 \
        -e USER=rstudio \
        -e PASSWORD=pass \
        -v "/path/to/your/folder/on/host:/home/rstudio/Project" nsaphsoftware/causalgps_dev



wxwx1993/GPSmatching documentation built on March 1, 2023, 9:32 p.m.