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

docker.io/nvidia/cuda:11.6.2-base-ubuntu20.04 - 国内下载镜像源 浏览次数:15

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

源镜像 docker.io/nvidia/cuda:11.6.2-base-ubuntu20.04
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.6.2-base-ubuntu20.04
镜像ID sha256:2098e65daccd40e8229a33d79948bac1788190d1a37fe748faedaee3a699bcf6
镜像TAG 11.6.2-base-ubuntu20.04
大小 153.99MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 15 次
贡献者
镜像创建 2023-11-10T07:14:59.166682708Z
同步时间 2025-01-13 16:18
更新时间 2025-01-14 22:59
环境变量
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.6 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.6.55-1 NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-6 CUDA_VERSION=11.6.2 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 20.04: org.opencontainers.image.version

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#nvidia/cuda:11.6.2-base-ubuntu20.04#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.6.2-base-ubuntu20.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.6.2-base-ubuntu20.04 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.6.2-base-ubuntu20.04  docker.io/nvidia/cuda:11.6.2-base-ubuntu20.04'

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-11-10 15:14:59  0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
                        
# 2023-11-10 15:14:59  0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
                        
# 2023-11-10 15:14:59  17.29KB 复制新文件或目录到容器中
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
                        
# 2023-11-10 15:14:58  0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
                        
# 2023-11-10 15:14:58  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 15:14:58  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 15:14:58  62.86MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     cuda-cudart-11-6=${NV_CUDA_CUDART_VERSION}     ${NV_CUDA_COMPAT_PACKAGE}     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-11-10 15:14:46  0.00B 设置环境变量 CUDA_VERSION
ENV CUDA_VERSION=11.6.2
                        
# 2023-11-10 15:14:46  18.32MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     gnupg2 curl ca-certificates &&     curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/${NVARCH}/3bf863cc.pub | apt-key add - &&     echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/${NVARCH} /" > /etc/apt/sources.list.d/cuda.list &&     apt-get purge --autoremove -y curl     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-11-10 15:14:46  0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
                        
# 2023-11-10 15:14:46  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2023-11-10 15:14:46  0.00B 设置环境变量 NV_CUDA_COMPAT_PACKAGE
ENV NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-6
                        
# 2023-11-10 15:14:46  0.00B 设置环境变量 NV_CUDA_CUDART_VERSION
ENV NV_CUDA_CUDART_VERSION=11.6.55-1
                        
# 2023-11-10 15:14:46  0.00B 设置环境变量 NVIDIA_REQUIRE_CUDA brand brand brand brand brand brand brand brand brand brand
ENV NVIDIA_REQUIRE_CUDA=cuda>=11.6 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 15:14:46  0.00B 设置环境变量 NVARCH
ENV NVARCH=x86_64
                        
# 2023-10-03 18:45:52  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2023-10-03 18:45:51  72.79MB 
/bin/sh -c #(nop) ADD file:4809da414c2d478b4d991cbdaa2df457f2b3d07d0ff6cf673f09a66f90833e81 in / 
                        
# 2023-10-03 18:45:50  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=20.04
                        
# 2023-10-03 18:45:50  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2023-10-03 18:45:50  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2023-10-03 18:45:50  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:2098e65daccd40e8229a33d79948bac1788190d1a37fe748faedaee3a699bcf6",
    "RepoTags": [
        "nvidia/cuda:11.6.2-base-ubuntu20.04",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:11.6.2-base-ubuntu20.04"
    ],
    "RepoDigests": [
        "nvidia/cuda@sha256:a0dd581afdbf82ea9887dd077aebf9723aba58b51ae89acb4c58b8705b74179b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda@sha256:f1525d14696f1219da97e32d29b6485ca2af67be91f67cd3a472b9816d9c9f9a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-11-10T07:14:59.166682708Z",
    "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.6 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.6.55-1",
            "NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-6",
            "CUDA_VERSION=11.6.2",
            "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": "20.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 153993747,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a5059089eb19c6317a1c14df96935e39880111fd16ceb1880db50c4552e895d4/diff:/var/lib/docker/overlay2/2ea4ef631afdacec7f7bc4606340f9c56932b96be5b8a50d168fded812e498a1/diff:/var/lib/docker/overlay2/c479411ff0d154a889733553c406bdd53ad773d170fe17c8438cd73a66e78243/diff:/var/lib/docker/overlay2/5408abd3ec726f4d055e10fddd8f488a8839c8a355fe1fb064cdc9fee660e07b/diff",
            "MergedDir": "/var/lib/docker/overlay2/12ab19d0fdf1c33479d2c3b6acc2a8e9102fad0846ad6da53dd214786f14ba7e/merged",
            "UpperDir": "/var/lib/docker/overlay2/12ab19d0fdf1c33479d2c3b6acc2a8e9102fad0846ad6da53dd214786f14ba7e/diff",
            "WorkDir": "/var/lib/docker/overlay2/12ab19d0fdf1c33479d2c3b6acc2a8e9102fad0846ad6da53dd214786f14ba7e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:6c3e7df31590f02f10cb71fc4eb27653e9b428df2e6e5421a455b062bd2e39f9",
            "sha256:d79e2ee082c89c7902644bfb77571a89da5fc21d916e1f8fcad8109407494c46",
            "sha256:0e89142a4b14323078f67ad7405da0325389d47489ec2af1888073c4c130178a",
            "sha256:840d4b9f1b3532cce9ab7bbb50fceb681cbd7afee84f41526fe0a84cc3ef51bf",
            "sha256:a90dd33a0ec6c3278f94d40dcc7274955ff2b40836f74dc8636c86a4bf9a7e9c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-13T16:18:10.042117361+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
17