The customized Docker images with CUDA toolkit locally deployed.
157
A collection of my personal customized Docker images.
The customized scripts for building Docker images with CUDA toolkit locally deployed.
Why do we need this image?
/usr/local/cuda). Developers may need these files to build pacakges with CUDA.Why don't we use the official build?
nvcr.io/nvidia/cuda:12.6.3-cudnn-devel-ubuntu24.04. However, these images have specific OS. If you are intending to work with Ubuntu, Ubi, or RockyLinux, it is fine to use the official images. However, if you want to work with other builds like Debian, there are no available official images.Why don't we use the debian-cuda image?
Run the following command to pull the image:
docker pull cainmagi/cuda:debian12-cu126
After that, run the following command to launch a shell
docker run --gpus all -it --rm --shm-size=1g cainmagi/cuda:debian12-cu126 bash
Caution
If you do not addbashat the end of the command, the container will be launched as Python.
To view the scripts used for building these images, please check
https://github.com/cainmagi/Dockerfiles/tree/cuda
| Tag | Debian | CUDA |
|---|---|---|
debian12-cu126 | 12 | 12.6 |
debian12-cu124 | 12 | 12.6 |
debian11-cu124 | 11 | 12.4 |
Content type
Image
Digest
sha256:2b7891b2e…
Size
4.2 GB
Last updated
over 1 year ago
docker pull cainmagi/cuda:debian12-cu126