Docker images for JupyterHubs based on the Project Jupyter scipy-notebook image with CSDMS Workbench software (Landlab, Basic Model Interface, Data Components) pre-installed.
Build the base image locally with:
docker build --tag jupyterhub-base images/baseThe OS is Linux/Ubuntu.
conda and mamba, as well as CSDMS Workbench software, are installed in CONDA_DIR=/opt/conda.
The base environment is activated.
Run a container from this image:
docker run -p 8888:8888 --rm jupyterhub-baseThis starts a JupyterHub.
Visiting http://<hostname>:8888/?token=<token> in a browser loads JupyterLab, where:
hostnameis the name of the computer running Dockertokenis the secret token printed in the console
A versioned, multiplatform image built from this repository is hosted on Docker Hub at csdms/jupyterhub. This image is automatically built and pushed to Docker Hub with the release CI workflow. The workflow is only run when the repository is tagged. To manually build and push an update, run:
docker buildx build --platform linux/amd64,linux/arm64 -t csdms/jupyterhub:latest --push images/baseA user can pull this image from Docker Hub with:
docker pull csdms/jupyterhuboptionally with the latest tag or with a version tag.
The CSDMS Workbench is the integrated system of software tools, technologies, and standards developed by CSDMS for building, interfacing, coupling, and running models. Learn more at https://csdms.colorado.edu/wiki/Workbench.
This work is supported by the U.S. National Science Foundation under Award No. 2104102, Collaborative Research: Frameworks: OpenEarthscape - Transformative Cyberinfrastructure for Modeling and Simulation in the Earth-Surface Science Communities.