{"id":23858785,"url":"https://github.com/tthebc01/cudaconda3","last_synced_at":"2026-02-11T18:08:57.447Z","repository":{"id":58107175,"uuid":"528698247","full_name":"TtheBC01/CudaConda3","owner":"TtheBC01","description":"Lightweight container environment with Cuda, Miniconda3, and Jupyter Lab.","archived":false,"fork":false,"pushed_at":"2024-11-27T23:57:18.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-25T01:43:46.534Z","etag":null,"topics":["cuda","docker","gpu","jupyterlab","marimo-notebook","miniconda3","reverse-proxy-application"],"latest_commit_sha":null,"homepage":"http://toddchapman.io/CudaConda3/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TtheBC01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-25T04:50:21.000Z","updated_at":"2024-12-30T22:27:15.000Z","dependencies_parsed_at":"2024-11-28T00:25:48.255Z","dependency_job_id":"77a8038f-03a9-4b29-8b32-0b688d2f8ff2","html_url":"https://github.com/TtheBC01/CudaConda3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TtheBC01/CudaConda3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TtheBC01%2FCudaConda3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TtheBC01%2FCudaConda3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TtheBC01%2FCudaConda3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TtheBC01%2FCudaConda3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TtheBC01","download_url":"https://codeload.github.com/TtheBC01/CudaConda3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TtheBC01%2FCudaConda3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29340491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T16:14:43.024Z","status":"ssl_error","status_checked_at":"2026-02-11T16:14:15.258Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cuda","docker","gpu","jupyterlab","marimo-notebook","miniconda3","reverse-proxy-application"],"created_at":"2025-01-03T03:19:21.716Z","updated_at":"2026-02-11T18:08:57.434Z","avatar_url":"https://github.com/TtheBC01.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CUDA Enabled Jupyter Lab Environment with Miniconda3\n\nThis repository creates a docker image for serving python notebooks from a container hosted on a GPU-accelerated machine (which \nis itself behind a reverse proxy). See [Cloud-in-a-Box](https://github.com/TtheBC01/Cloud-in-a-Box) for a complete deployment stack with authentication and resource monitoring. \n\nOut-of-the box notebook support:\n- [Jupyter Lab](https://jupyter.org/)\n- [Marimo](https://marimo.io/)\n\n**WARNING**: The [`entrypoint.sh`](/entrypoint.sh) script disables the native token-based authentication in the Jupyter Lab application since the resulting base image\nis intended to be hosted behind a reverse proxy application with its own authentication and authorization flow. \n\n## Pre-built Docker Image\n\nA version of [`cudaconda3`](https://hub.docker.com/r/tthebc01/cudaconda3) is available on docker hub pre-built for CUDA 12.2.0 and Python 3.10:\n\n```shell\ndocker pull tthebc01/cudaconda3\n```\n\n## Building Locally\n\nTo build a local image and run with a local directory mounted in the container, do this:\n\n```shell\ngit clone https://github.com/TtheBC01/CudaConda3.git\ncd CudaConda3\ndocker build -t cudaconda3 .\ndocker run --name cudaconda --rm -p 8888:8888 -d --gpus all -v ~/path/to/project:/root/project cudaconda3\n```\n\nYou should be able to access the Jupyter Lab application from your browser now by going to http://localhost:8888/jupyter/lab.\n\n### Changing Conda or Cuda versions\n\nFor proper operation, the cudaconda3 base image must match the CUDA version on the host machine. First, check the version of CUDA installed on \nthe host machine you will be running the container on:\n\n```shell\nnvidia-smi\n```\n\nNext, the [`Dockerfile`](/Dockerfile) is configured with two optional build arguments:\n\n- `MINCONDA`: Default is `Miniconda3-py310_23.3.1-0-Linux-x86_64.sh`, see the [Miniconda installer](https://docs.conda.io/en/latest/miniconda.html) page for more options (you'll need to use a Linux installer though)\n- `CUDATAG`: Default is [`12.2.0-devel-ubuntu20.04` ](https://hub.docker.com/layers/nvidia/cuda/12.2.0-devel-ubuntu20.04/images/sha256-6d57f64a7222a57c6147e9fcef03d2230fe3978b4d2b34189d76a576564036d8?context=explore) Docker Hub repository for more options (stick to Debian based tags)\n\nTherefore, you can customize the build for your needs with a command like the following:\n\n```shell\ndocker build --build-arg MINICONDA=Miniconda3-py37_4.12.0-Linux-x86_64.sh --build-arg CUDATAG=11.7.0-runtime-ubuntu20.04 -t cudaconda .\n```\n\n## Adding PyTorch to Your Lab Environment\n\nSee the [PyTorch installation](https://pytorch.org/get-started/locally/) guide for commands to install your target version of the package. \n\nFor example, installation with CUDA 12.4 will look something like this: \n\n```sh\npython -m pip install torch torchvision torchaudio\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftthebc01%2Fcudaconda3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftthebc01%2Fcudaconda3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftthebc01%2Fcudaconda3/lists"}