1. Images & Charts
  2. cuda
cuda

cuda

Ai
Dev
Updated 4 days ago

CUDA Overview

Secure your stack with a hardened CUDA image freshly-built by Minimus. Minimus images always include the most up-to-date package version for all packages and dependencies contained in the image.


NVIDIA CUDA is used to develop GPU-accelerated applications. The CUDA toolkit includes GPU-accelerated libraries, a compiler, development tools and the CUDA runtime.


Try It Out

First check that your system has an NVIDIA GPU that supports CUDA. You can run the following to list the NVIDIA devices detected in your environment:

lspci | grep -i nvidia 

Run a quick test to ensure your container and NVIDIA GPU setup works and print the GPU status:

docker run --rm --gpus all reg.mini.dev/cuda nvidia-smi

Example of the expected output:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.64.03              Driver Version: 575.64.03      CUDA Version: 12.9     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  Tesla T4                       Off |   00000000:00:04.0 Off |                    0 |
| N/A   53C    P8             14W /   70W |       0MiB /  15360MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+

Technical Considerations

The CUDA image provided by Minimus is a slim, security-hardened alternative to the public image from Docker Hub. The images are largely interchangeable, with a few differences as noted below.

CUDA built by Minimus:

  1. The CUDA image includes proprietary NVIDIA packages. Refer to the NVIDIA license agreement for further information.
  2. Some packages included in this image are proprietary CUDA components that are not freely redistributable and cannot be built by Minimus from source. See the image SBOM for details.
  3. The cuda-dev image includes several Python versions as runtime dependencies for cuda-gdb to allow the image to work out of the box. Note that these packages are not included in the official Ubuntu image.
  4. Runs as non-root by default for a security-first approach that protects against privilege escalation attacks. The public image runs as root.
  5. Drill down on the version specification tab to see the default user, listening ports, entrypoint, volumes, environment variables, etc.

The Payoff

A hardened, minimal image that will remain more secure for the long run and accrue vulnerabilities at a slower rate.


Terms & Info

Trademark

This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.

Disclaimer

Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.