docker/README.md

Docker container

To download and mount the Docker image, first download and install the relevant version of Docker for your OS, and then run the following in a command prompt:

docker pull qdercon/pstpipeline:v0.2.0

The image includes everything required to run the Jupyter notebooks both locally or on a cluster/cloud server in a containerised environment (i.e., local package installs etc. will not be affected). More specifically, it is a Linux environment containing:

The image can also be built locally from the included Dockerfile. For example, on Windows, to clone the repo, extract the relevant data & notebooks, and build the Docker image, you could run the following:

git clone https://github.com/qdercon/pstpipeline
cd pstpipeline
cp -a data-raw docker/data-raw
cp -a notebooks docker/notebooks
cd docker
docker build -t pstpipeline-docker .

Once downloaded or built, to mount the image, run the following in a command prompt:

docker run -it --rm -p 8888:8888 -v <:/path/to/folder>:/root/<mount_folder_name>/ pstpipeline-docker

The -v flag and the path that follows is optional; this allows you to "mount" a folder on the disk to enable notebooks and model outputs to be saved locally. The command will output a link beginning with http//:127.0.0.1:8888/lab?token= which can be copied and pasted into a browser to open JupyterLab.



qdercon/pstpipeline documentation built on June 1, 2025, 1:11 p.m.