Initialize cuda-notebook Dockerfile #605
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Foundational Dockerfile for CUDA GPU packages, based off rapidsai/miniforge-cuda.
Chain of Docker images:
graph LR; ubuntu["ubuntu<br>:24.04"]-->nvidia-cuda["nvidia/cuda<br>:12.8.0-base-ubuntu24.04"] nvidia-cuda-->rapidsai-miniforge["rapidsai/miniforge-cuda<br>:cuda12.8.0-base-ubuntu24.04-py3.13"] rapidsai-miniforge-->cuda-notebook["pangeo/cuda-notebook"] cuda-notebook-->cupy-notebook["pangeo/cupy-notebook (TODO)"] click ubuntu "https://hub.docker.com/_/ubuntu/" _blank click nvidia-cuda "https://catalog.ngc.nvidia.com/orgs/nvidia/containers/cuda" "Open this in a new tab" _blank click rapidsai-miniforge "https://hub.docker.com/r/rapidsai/miniforge-cuda" "Open this in a new tab" _blankNotes:
rapidsai/baseorrapidsai/notebooksbecausecuspatialandkvikio?)./home/rapidswith UID 1001, so incompatible with repo2docker's/home/jovyanwith UID 1000 setup. We do need to rename/home/ubuntuto/home/jovyanin therapidsai/miniforge-cudaimage though following this, xref Ubuntu 24.04 comes with existing non-root user jupyterhub/repo2docker#1346Packages in
cuda-notebook:Packages in
cupy-notebook:TODO:
base-imagedocker tricks tocuda-notebookcupy-notebookusing repo2docker style (i.e. dependencies in environment.yml)Test locally:
References:
Resolves #457