docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04 linux/amd64

docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04 - 国内下载镜像源 浏览次数:17

NVIDIA Cuda 是一个基于 Docker 的容器镜像,用于运行 NVIDIA CUDA GPU 加速计算环境。该镜像提供了 CUDA 11.4 及更高版本的支持,可以在 Linux、Windows 和 macOS 等平台上运行。

源镜像 docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04
镜像ID sha256:1e75b7decac0d8d0a51d0014a942f43854b38eded0e741230b92e7cbb8a61bb2
镜像TAG 11.8.0-base-ubuntu22.04
大小 239.07MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 17 次
贡献者
镜像创建 2023-11-10T06:37:16.627339966Z
同步时间 2025-01-13 16:43
更新时间 2025-01-14 20:07
环境变量
PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NVARCH=x86_64 NVIDIA_REQUIRE_CUDA=cuda>=11.8 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 NV_CUDA_CUDART_VERSION=11.8.89-1 NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-8 CUDA_VERSION=11.8.0 LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 NVIDIA_VISIBLE_DEVICES=all NVIDIA_DRIVER_CAPABILITIES=compute,utility
镜像标签
NVIDIA CORPORATION <cudatools@nvidia.com>: maintainer ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04  docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04  docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04

Shell快速替换命令

sed -i 's#nvidia/cuda:11.8.0-base-ubuntu22.04#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04  docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04  docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04'

镜像构建历史


# 2023-11-10 14:37:16  0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
                        
# 2023-11-10 14:37:16  0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
                        
# 2023-11-10 14:37:16  17.29KB 复制新文件或目录到容器中
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
                        
# 2023-11-10 14:37:16  0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
                        
# 2023-11-10 14:37:16  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-11-10 14:37:16  46.00B 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf     && echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf # buildkit
                        
# 2023-11-10 14:37:16  150.67MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     cuda-cudart-11-8=${NV_CUDA_CUDART_VERSION}     ${NV_CUDA_COMPAT_PACKAGE}     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-11-10 14:37:01  0.00B 设置环境变量 CUDA_VERSION
ENV CUDA_VERSION=11.8.0
                        
# 2023-11-10 14:37:01  10.56MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     gnupg2 curl ca-certificates &&     curl -fsSLO https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/${NVARCH}/cuda-keyring_1.0-1_all.deb &&     dpkg -i cuda-keyring_1.0-1_all.deb &&     apt-get purge --autoremove -y curl     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-11-10 14:37:01  0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
                        
# 2023-11-10 14:37:01  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2023-11-10 14:37:01  0.00B 设置环境变量 NV_CUDA_COMPAT_PACKAGE
ENV NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-8
                        
# 2023-11-10 14:37:01  0.00B 设置环境变量 NV_CUDA_CUDART_VERSION
ENV NV_CUDA_CUDART_VERSION=11.8.89-1
                        
# 2023-11-10 14:37:01  0.00B 设置环境变量 NVIDIA_REQUIRE_CUDA brand brand brand brand brand brand brand brand brand brand
ENV NVIDIA_REQUIRE_CUDA=cuda>=11.8 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471
                        
# 2023-11-10 14:37:01  0.00B 设置环境变量 NVARCH
ENV NVARCH=x86_64
                        
# 2023-10-05 15:33:32  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-10-05 15:33:32  77.82MB 
/bin/sh -c #(nop) ADD file:63d5ab3ef0aab308c0e71cb67292c5467f60deafa9b0418cbb220affcd078444 in / 
                        
# 2023-10-05 15:33:30  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2023-10-05 15:33:30  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2023-10-05 15:33:30  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2023-10-05 15:33:30  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:1e75b7decac0d8d0a51d0014a942f43854b38eded0e741230b92e7cbb8a61bb2",
    "RepoTags": [
        "nvidia/cuda:11.8.0-base-ubuntu22.04",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04"
    ],
    "RepoDigests": [
        "nvidia/cuda@sha256:f895871972c1c91eb6a896eee68468f40289395a1e58c492e1be7929d0f8703b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda@sha256:1515a41c3f6a6c6930b26d8dcab54179948d6aa39f30d7b82fe9e8cde7599582"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-11-10T06:37:16.627339966Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "NVARCH=x86_64",
            "NVIDIA_REQUIRE_CUDA=cuda\u003e=11.8 brand=tesla,driver\u003e=470,driver\u003c471 brand=unknown,driver\u003e=470,driver\u003c471 brand=nvidia,driver\u003e=470,driver\u003c471 brand=nvidiartx,driver\u003e=470,driver\u003c471 brand=geforce,driver\u003e=470,driver\u003c471 brand=geforcertx,driver\u003e=470,driver\u003c471 brand=quadro,driver\u003e=470,driver\u003c471 brand=quadrortx,driver\u003e=470,driver\u003c471 brand=titan,driver\u003e=470,driver\u003c471 brand=titanrtx,driver\u003e=470,driver\u003c471",
            "NV_CUDA_CUDART_VERSION=11.8.89-1",
            "NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-8",
            "CUDA_VERSION=11.8.0",
            "LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
            "NVIDIA_VISIBLE_DEVICES=all",
            "NVIDIA_DRIVER_CAPABILITIES=compute,utility"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "maintainer": "NVIDIA CORPORATION \u003ccudatools@nvidia.com\u003e",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 239071454,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1b9e13eabe784b217a021bfa5c0757af8dccf2d31b075ba03c32f718ac4f2302/diff:/var/lib/docker/overlay2/0667f4efd64773166243841fe20f11cd7886bb726a55a0288b61d37010bb97a9/diff:/var/lib/docker/overlay2/2b874a1d8abb56c0daea2b013eb3b4dcb49c95ef22ee9a909d65a7b375706331/diff:/var/lib/docker/overlay2/f2905627b4505cda033dd62b5a5dc1676edda5a6e1bda7cd6e6e2048fcf5aee0/diff",
            "MergedDir": "/var/lib/docker/overlay2/f439c43911c8b3f46ec4b0a9b13e73aa5174949f4424a7853d48bf8b7ed6a8f8/merged",
            "UpperDir": "/var/lib/docker/overlay2/f439c43911c8b3f46ec4b0a9b13e73aa5174949f4424a7853d48bf8b7ed6a8f8/diff",
            "WorkDir": "/var/lib/docker/overlay2/f439c43911c8b3f46ec4b0a9b13e73aa5174949f4424a7853d48bf8b7ed6a8f8/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:256d88da41857db513b95b50ba9a9b28491b58c954e25477d5dad8abb465430b",
            "sha256:e6c05e83c163d632918d1c4906ee088b1e0d93a5bb3acfc6a268da52e76cc945",
            "sha256:d6b19a46b795f8b562888c6e2826a6b11f744ab98543268b4d45ee1af05ed1cf",
            "sha256:c0e21dcee62311c36e1f025307b3186a4b4a034f0b52011704402b39623b6587",
            "sha256:498bbcc60d01b2080fd6fc35117cb82c80ddd4eb8a654ee330dd91587b7ec90b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-13T16:43:06.544380305+08:00"
    }
}

更多版本

docker.io/nvidia/cuda:12.5.0-devel-ubuntu22.04

linux/amd64 docker.io7.15GB2024-06-20 11:42
759

docker.io/nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04

linux/amd64 docker.io8.95GB2024-06-20 14:34
992

docker.io/nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04

linux/amd64 docker.io3.38GB2024-07-01 14:24
1365

docker.io/nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04

linux/amd64 docker.io9.47GB2024-07-30 15:12
670

docker.io/nvidia/cuda:12.1.1-cudnn8-devel-ubuntu22.04

linux/amd64 docker.io9.49GB2024-08-13 17:50
463

docker.io/nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04

linux/amd64 docker.io3.30GB2024-08-16 11:53
387

docker.io/nvidia/cuda:12.4.1-base-ubuntu22.04

linux/amd64 docker.io244.38MB2024-08-17 21:23
617

docker.io/nvidia/cuda:12.6.0-cudnn-devel-ubuntu24.04

linux/amd64 docker.io8.11GB2024-08-19 01:52
593

docker.io/nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu20.04

linux/amd64 docker.io3.25GB2024-08-20 10:28
283

docker.io/nvidia/cuda:12.4.1-devel-ubuntu22.04

linux/amd64 docker.io7.27GB2024-08-23 23:27
537

docker.io/nvidia/cuda:12.4.1-devel-ubuntu22.04

linux/amd64 docker.io7.27GB2024-08-26 13:41
1

docker.io/nvidia/cuda:12.4.1-devel-ubuntu22.04

linux/arm64 docker.io5.92GB2024-08-26 13:59
475

docker.io/nvidia/cuda:12.3.2-cudnn9-devel-ubuntu20.04

linux/amd64 docker.io8.09GB2024-09-02 16:14
239

docker.io/nvidia/cuda:12.6.0-runtime-ubuntu24.04

linux/amd64 docker.io2.31GB2024-09-03 16:29
513

docker.io/nvidia/cuda:12.3.1-base-ubuntu22.04

linux/amd64 docker.io243.31MB2024-09-03 18:25
397

docker.io/nvidia/cuda:12.2.2-devel-ubuntu22.04

linux/amd64 docker.io6.95GB2024-09-07 06:32
444

docker.io/nvidia/cuda:12.1.0-cudnn8-runtime-ubuntu20.04

linux/amd64 docker.io3.37GB2024-09-13 14:34
435

docker.io/nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04

linux/amd64 docker.io3.32GB2024-09-20 10:06
299

docker.io/nvidia/cuda:12.5.1-base-rockylinux9

linux/amd64 docker.io450.12MB2024-09-23 11:50
187

docker.io/nvidia/cuda:12.6.1-base-ubi9

linux/amd64 docker.io390.99MB2024-09-23 15:33
265

docker.io/nvidia/cuda:12.6.1-cudnn-devel-ubuntu22.04

linux/amd64 docker.io8.05GB2024-09-24 00:39
430

docker.io/nvidia/cuda:12.6.1-devel-rockylinux9

linux/amd64 docker.io7.08GB2024-09-24 01:27
273

docker.io/nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04

linux/amd64 docker.io7.69GB2024-09-24 10:31
358

docker.io/nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04

linux/amd64 docker.io9.49GB2024-09-26 00:13
260

docker.io/nvidia/cuda:12.3.2-cudnn9-devel-ubuntu22.04

linux/amd64 docker.io8.10GB2024-10-01 00:14
172

docker.io/nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04

linux/amd64 docker.io9.33GB2024-10-11 00:48
273

docker.io/nvidia/cuda:11.0.3-runtime-ubuntu20.04

linux/amd64 docker.io2.06GB2024-10-22 16:17
187

docker.io/nvidia/cuda:11.3.1-devel-ubuntu18.04

linux/arm64 docker.io3.74GB2024-10-24 17:52
122

docker.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04

linux/amd64 docker.io9.35GB2024-10-24 19:51
236

docker.io/nvidia/cuda:11.1.1-cudnn8-devel-ubuntu18.04

linux/arm64 docker.io11.50GB2024-10-25 01:15
95

docker.io/nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04

linux/amd64 docker.io3.74GB2024-10-31 15:22
200

docker.io/nvidia/cuda:11.8.0-devel-ubuntu22.04

linux/amd64 docker.io7.37GB2024-11-06 13:17
163

docker.io/nvidia/cuda:11.1.1-base

linux/amd64 docker.io123.64MB2024-11-16 01:17
77

docker.io/nvidia/cuda:12.1.1-cudnn8-devel-ubuntu20.04

linux/amd64 docker.io9.47GB2024-11-23 00:10
82

docker.io/nvidia/cuda:12.4.1-runtime-ubuntu22.04

linux/amd64 docker.io2.29GB2024-12-05 17:51
68

docker.io/nvidia/cuda:12.2.2-devel-ubuntu20.04

linux/amd64 docker.io6.94GB2024-12-13 00:54
65

docker.io/nvidia/cuda:12.6.3-cudnn-devel-ubuntu24.04

linux/amd64 docker.io8.22GB2024-12-18 00:45
92

docker.io/nvidia/cuda:12.6.3-base-ubuntu22.04

linux/amd64 docker.io250.32MB2024-12-25 09:01
84

docker.io/nvidia/cuda:12.3.2-devel-ubuntu20.04

linux/amd64 docker.io7.06GB2024-12-26 00:03
38

docker.io/nvidia/cuda:11.7.1-devel-ubuntu22.04

linux/amd64 docker.io5.75GB2024-12-27 19:37
42

docker.io/nvidia/cuda:11.6.2-base-ubuntu20.04

linux/amd64 docker.io153.99MB2025-01-13 16:18
14

docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04

linux/amd64 docker.io239.07MB2025-01-13 16:43
16