如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
CUDA is a parallel computing platform and programming model developed by NVIDIA for general computing on graphical processing units (GPUs). With CUDA, developers can dramatically speed up computing applications by harnessing the power of GPUs.
The CUDA Toolkit from NVIDIA provides everything you need to develop GPU-accelerated applications. The CUDA Toolkit includes GPU-accelerated libraries, a compiler, development tools and the CUDA runtime.
The CUDA container images provide an easy-to-use distribution for CUDA supported platforms and architectures.
The images are governed by the following NVIDIA End User License Agreements. By pulling and using the CUDA images, you accept the terms and conditions of these licenses. Since the images may include components licensed under open-source licenses such as GPL, the sources for these components are archived here.
To view the NVIDIA Deep Learning Container license, click here
For more information on CUDA, including the release notes, programming model, APIs and developer tools, visit the CUDA documentation site.
CUDA image container tags have a lifetime. The tags will be deleted Six Months after the last supported "Tesla Recommended Driver" has gone end-of-life OR a newer update release has been made for the same CUDA version.
Please see CUDA Container Support Policy for more information.
Breaking changes are announced on Gitlab Issue #209.
This may present itself as the following errors.
debian:
Reading package lists... Done W: GPG error: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC W: The repository 'http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details.
RPM:
warning: /var/cache/dnf/cuda-fedora32-x86_64-d60aafcddb176bf5/packages/libnvjpeg-11-1-11.3.0.105-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d42d0685: NOKEY cuda-fedora32-x86_64 23 kB/s | 1.6 kB 00:00 Importing GPG key 0x7FA2AF80: Userid : "cudatools <cudatools@nvidia.com>" Fingerprint: AE09 FE4B BD22 3A84 B2CC FCE3 F60F 4B3D 7FA2 AF80 From : https://developer.download.nvidia.com/compute/cuda/repos/fedora32/x86_64/7fa2af80.pub Is this ok [y/N]: y Key imported successfully Import of key(s) didn't help, wrong key(s)? Public key for libnvjpeg-11-1-11.3.0.105-1.x86_64.rpm is not installed. Failing package is: libnvjpeg-11-1-11.3.0.105-1.x86_64 GPG Keys are configured as: https://developer.download.nvidia.com/compute/cuda/repos/fedora32/x86_64/7fa2af80.pub The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: GPG check FAILED
Updated images will be pushed out over the next few days containing the new repo key. Please follow progress using the links below:
It is now possible to build CUDA container images for all supported architectures using Docker Buildkit in one step. See the example script below.
The deprecated image names nvidia/cuda-arm64 and nvidia/cuda-ppc64le will remain available, but no longer supported.
The following product pages still exist but will no longer be supported:
The following gitlab repositories will be archived:
The "latest" tag for CUDA, CUDAGL, and OPENGL images has been deprecated on NGC and Docker Hub.
With the removal of the latest tag, the following use case will result in the "manifest unknown" error:
$ docker pull nvidia/cuda Error response from daemon: manifest for nvidia/cuda:latest not found: manifest unknown: manifest unknown
This is not a bug.
Three flavors of images are provided:
base: Includes the CUDA runtime (cudart)runtime: Builds on the base and includes the CUDA math libraries, and NCCL. A runtime image that also includes cuDNN is available. Some images may also include TensorRT.devel: Builds on the runtime and includes headers, development tools for building CUDA images. These images are particularly useful for multi-stage builds.The Dockerfiles for the images are open-source and licensed under 3-clause BSD. For more information see the Supported Tags section below.
The https://github.com/NVIDIA/nvidia-container-toolkit for Docker is required to run CUDA images.
For CUDA 10.0, nvidia-docker2 (v2.1.0) or greater is recommended. It is also recommended to use Docker 19.03.
Read https://github.com/NVIDIA/nvidia-docker/wiki/Frequently-Asked-Questions to see if the problem has been encountered before.
After it has been determined the problem is not with the NVIDIA runtime, report an issue at the CUDA Container Image Issue Tracker.
Supported tags are updated to the latest CUDA, cuDNN, and TensorRT versions. These tags are also periodically updated to fix CVE vulnerabilities.
For a full list of supported tags, click here.
Visit OpenSource @ Nvidia for the GPL sources of the packages contained in the CUDA base image layers.
13.2.1-cudnn-runtime-ubuntu24.04 (13.2.1/ubuntu2404/runtime/cudnn/Dockerfile)13.2.1-runtime-ubuntu24.04 (13.2.1/ubuntu2404/runtime/Dockerfile)13.2.1-cudnn-devel-ubuntu24.04 (13.2.1/ubuntu2404/devel/cudnn/Dockerfile)13.2.1-devel-ubuntu24.04 (13.2.1/ubuntu2404/devel/Dockerfile)13.2.1-base-ubuntu24.04 (13.2.1/ubuntu2404/base/Dockerfile)13.2.1-cudnn-runtime-ubuntu22.04 (13.2.1/ubuntu2204/runtime/cudnn/Dockerfile)13.2.1-runtime-ubuntu22.04 (13.2.1/ubuntu2204/runtime/Dockerfile)13.2.1-cudnn-devel-ubuntu22.04 (13.2.1/ubuntu2204/devel/cudnn/Dockerfile)13.2.1-devel-ubuntu22.04 (13.2.1/ubuntu2204/devel/Dockerfile)13.2.1-base-ubuntu22.04 (13.2.1/ubuntu2204/base/Dockerfile)13.2.1-cudnn-runtime-ubi9 (13.2.1/ubi9/runtime/cudnn/Dockerfile)13.2.1-runtime-ubi9 (13.2.1/ubi9/runtime/Dockerfile)13.2.1-cudnn-devel-ubi9 (13.2.1/ubi9/devel/cudnn/Dockerfile)13.2.1-devel-ubi9 (13.2.1/ubi9/devel/Dockerfile)13.2.1-base-ubi9 (13.2.1/ubi9/base/Dockerfile)13.2.1-cudnn-runtime-ubi8 (13.2.1/ubi8/runtime/cudnn/Dockerfile)13.2.1-runtime-ubi8 (13.2.1/ubi8/runtime/Dockerfile)13.2.1-cudnn-devel-ubi8 (13.2.1/ubi8/devel/cudnn/Dockerfile)13.2.1-devel-ubi8 (13.2.1/ubi8/devel/Dockerfile)13.2.1-base-ubi8 (13.2.1/ubi8/base/Dockerfile)13.2.1-cudnn-runtime-ubi10 (13.2.1/ubi10/runtime/cudnn/Dockerfile)13.2.1-runtime-ubi10 (13.2.1/ubi10/runtime/Dockerfile)13.2.1-cudnn-devel-ubi10 (13.2.1/ubi10/devel/cudnn/Dockerfile)13.2.1-devel-ubi10 (13.2.1/ubi10/devel/Dockerfile)13.2.1-base-ubi10 (13.2.1/ubi10/base/Dockerfile)13.2.1-runtime-suse16 (13.2.1/suse16/runtime/Dockerfile)13.2.1-devel-suse16 (13.2.1/suse16/devel/Dockerfile)13.2.1-base-suse16 (13.2.1/suse16/base/Dockerfile)13.2.1-cudnn-runtime-rockylinux9 (13.2.1/rockylinux9/runtime/cudnn/Dockerfile)13.2.1-runtime-rockylinux9 (13.2.1/rockylinux9/runtime/Dockerfile)13.2.1-cudnn-devel-rockylinux9 (13.2.1/rockylinux9/devel/cudnn/Dockerfile)13.2.1-devel-rockylinux9 (13.2.1/rockylinux9/devel/Dockerfile)13.2.1-base-rockylinux9 (13.2.1/rockylinux9/base/Dockerfile)13.2.1-cudnn-runtime-rockylinux8 (13.2.1/rockylinux8/runtime/cudnn/Dockerfile)13.2.1-runtime-rockylinux8 (13.2.1/rockylinux8/runtime/Dockerfile)13.2.1-cudnn-devel-rockylinux8 (13.2.1/rockylinux8/devel/cudnn/Dockerfile)13.2.1-devel-rockylinux8 (13.2.1/rockylinux8/devel/Dockerfile)13.2.1-base-rockylinux8 (13.2.1/rockylinux8/base/Dockerfile)13.2.1-cudnn-runtime-rockylinux10 (13.2.1/rockylinux10/runtime/cudnn/Dockerfile)13.2.1-runtime-rockylinux10 (13.2.1/rockylinux10/runtime/Dockerfile)13.2.1-cudnn-devel-rockylinux10 (13.2.1/rockylinux10/devel/cudnn/Dockerfile)13.2.1-devel-rockylinux10 (13.2.1/rockylinux10/devel/Dockerfile)13.2.1-base-rockylinux10 (13.2.1/rockylinux10/base/Dockerfile)13.2.1-cudnn-runtime-oraclelinux9 (13.2.1/oraclelinux9/runtime/cudnn/Dockerfile)13.2.1-runtime-oraclelinux9 (13.2.1/oraclelinux9/runtime/Dockerfile)13.2.1-cudnn-devel-oraclelinux9 (13.2.1/oraclelinux9/devel/cudnn/Dockerfile)13.2.1-devel-oraclelinux9 (13.2.1/oraclelinux9/devel/Dockerfile)13.2.1-base-oraclelinux9 (13.2.1/oraclelinux9/base/Dockerfile)13.2.1-cudnn-runtime-oraclelinux8 (13.2.1/oraclelinux8/runtime/cudnn/Dockerfile)13.2.1-runtime-oraclelinux8 (13.2.1/oraclelinux8/runtime/Dockerfile)13.2.1-cudnn-devel-oraclelinux8 (13.2.1/oraclelinux8/devel/cudnn/Dockerfile)13.2.1-devel-oraclelinux8 (13.2.1/oraclelinux8/devel/Dockerfile)13.2.1-base-oraclelinux8 (13.2.1/oraclelinux8/base/Dockerfile)13.2.1-cudnn-runtime-opensuse15 (13.2.1/opensuse15/runtime/cudnn/Dockerfile)13.2.1-runtime-opensuse15 (13.2.1/opensuse15/runtime/Dockerfile)13.2.1-cudnn-devel-opensuse15 (13.2.1/opensuse15/devel/cudnn/Dockerfile)13.2.1-devel-opensuse15 (13.2.1/opensuse15/devel/Dockerfile)13.2.1-base-opensuse15 (13.2.1/opensuse15/base/Dockerfile)13.2.1-runtime-azl3 (13.2.1/azl3/runtime/Dockerfile)13.2.1-devel-azl3 (13.2.1/azl3/devel/Dockerfile)13.2.1-base-azl3 (13.2.1/azl3/base/Dockerfile)13.2.1-runtime-amzn2023 (13.2.1/amzn2023/runtime/Dockerfile)13.2.1-devel-amzn2023 (13.2.1/amzn2023/devel/Dockerfile)13.2.1-base-amzn2023 (13.2.1/amzn2023/base/Dockerfile)A list of tags that are no longer supported can be found here
This Readme is located in the doc directory of the CUDA Container Image source repository. (history)
以下是 nvidia/cuda 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


来自真实用户的反馈,见证轩辕镜像的优质服务