源镜像 |
docker.io/nvidia/cuda:12.5.1-base-rockylinux9 |
国内镜像 |
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9 |
镜像ID |
sha256:aee3139d7a3f79ab5527e1a6cba021375c75aa71bdd26f6424424f123cb8d701 |
镜像TAG |
12.5.1-base-rockylinux9 |
大小 |
450.12MB |
镜像源 |
docker.io |
项目信息 |
Docker-Hub主页 🚀项目TAG 🚀 |
CMD |
/bin/bash |
启动入口 |
|
工作目录 |
/ |
OS/平台 |
linux/amd64
|
浏览量 |
191 次 |
贡献者 |
|
镜像创建 |
2024-07-10T22:46:14.590827979Z |
同步时间 |
2024-09-23 11:50 |
更新时间 |
2025-01-18 06:55 |
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>=12.5 brand=unknown,driver>=470,driver<471 brand=grid,driver>=470,driver<471 brand=tesla,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=vapps,driver>=470,driver<471 brand=vpc,driver>=470,driver<471 brand=vcs,driver>=470,driver<471 brand=vws,driver>=470,driver<471 brand=cloudgaming,driver>=470,driver<471 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551
NV_CUDA_CUDART_VERSION=12.5.82-1
CUDA_VERSION=12.5.1
LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=compute,utility
NVIDIA CORPORATION <sw-cuda-installer@nvidia.com>: maintainer
Docker拉取命令 无权限下载?点我修复
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9 docker.io/nvidia/cuda:12.5.1-base-rockylinux9
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9 docker.io/nvidia/cuda:12.5.1-base-rockylinux9
Shell快速替换命令
sed -i 's#nvidia/cuda:12.5.1-base-rockylinux9#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9#' deployment.yaml
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9 docker.io/nvidia/cuda:12.5.1-base-rockylinux9'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9 docker.io/nvidia/cuda:12.5.1-base-rockylinux9'
镜像构建历史
# 2024-07-11 06:46:14 0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
# 2024-07-11 06:46:14 0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
# 2024-07-11 06:46:14 17.29KB 复制新文件或目录到容器中
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
# 2024-07-11 06:46:14 0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
# 2024-07-11 06:46:14 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
# 2024-07-11 06:46:14 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
# 2024-07-11 06:46:14 274.53MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c yum upgrade -y && yum install -y cuda-cudart-12-5-${NV_CUDA_CUDART_VERSION} cuda-compat-12-5 && yum clean all && rm -rf /var/cache/yum/* # buildkit
# 2024-07-11 06:45:53 0.00B 设置环境变量 CUDA_VERSION
ENV CUDA_VERSION=12.5.1
# 2024-07-11 06:45:53 1.61KB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c NVIDIA_GPGKEY_SUM=d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3b80c87 && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/rhel9/${NVARCH}/D42D0685.pub | sed '/^Version/d' > /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA && echo "$NVIDIA_GPGKEY_SUM /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA" | sha256sum -c --strict - # buildkit
# 2024-05-31 07:17:31 0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <sw-cuda-installer@nvidia.com>
# 2024-05-31 07:17:31 0.00B 定义构建参数
ARG TARGETARCH
# 2024-05-31 07:17:31 165.00B 复制新文件或目录到容器中
COPY cuda.repo-x86_64 /etc/yum.repos.d/cuda.repo # buildkit
# 2024-05-31 07:17:31 0.00B 设置环境变量 NV_CUDA_CUDART_VERSION
ENV NV_CUDA_CUDART_VERSION=12.5.82-1
# 2024-05-31 07:17:31 0.00B 设置环境变量 NVIDIA_REQUIRE_CUDA brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand
ENV NVIDIA_REQUIRE_CUDA=cuda>=12.5 brand=unknown,driver>=470,driver<471 brand=grid,driver>=470,driver<471 brand=tesla,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=vapps,driver>=470,driver<471 brand=vpc,driver>=470,driver<471 brand=vcs,driver>=470,driver<471 brand=vws,driver>=470,driver<471 brand=cloudgaming,driver>=470,driver<471 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551
# 2024-05-31 07:17:31 0.00B 设置环境变量 NVARCH
ENV NVARCH=x86_64
# 2023-11-29 04:08:58 0.00B 设置默认要执行的命令
CMD ["/bin/bash"]
# 2023-11-29 04:08:58 175.57MB 复制文件或目录到容器中
ADD layer.tar.xz / # buildkit
镜像信息
{
"Id": "sha256:aee3139d7a3f79ab5527e1a6cba021375c75aa71bdd26f6424424f123cb8d701",
"RepoTags": [
"nvidia/cuda:12.5.1-base-rockylinux9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.5.1-base-rockylinux9"
],
"RepoDigests": [
"nvidia/cuda@sha256:8d2f98a276dfae78fdce1429a04207b17d4e1ebf7060937633ba1f5d77e01c3b",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda@sha256:84d27a6bd57c07f514003125ab4dbd6d334653fb9eade9b8bb10f1f33db68272"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-07-10T22:46:14.590827979Z",
"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=12.5 brand=unknown,driver\u003e=470,driver\u003c471 brand=grid,driver\u003e=470,driver\u003c471 brand=tesla,driver\u003e=470,driver\u003c471 brand=nvidia,driver\u003e=470,driver\u003c471 brand=quadro,driver\u003e=470,driver\u003c471 brand=quadrortx,driver\u003e=470,driver\u003c471 brand=nvidiartx,driver\u003e=470,driver\u003c471 brand=vapps,driver\u003e=470,driver\u003c471 brand=vpc,driver\u003e=470,driver\u003c471 brand=vcs,driver\u003e=470,driver\u003c471 brand=vws,driver\u003e=470,driver\u003c471 brand=cloudgaming,driver\u003e=470,driver\u003c471 brand=unknown,driver\u003e=535,driver\u003c536 brand=grid,driver\u003e=535,driver\u003c536 brand=tesla,driver\u003e=535,driver\u003c536 brand=nvidia,driver\u003e=535,driver\u003c536 brand=quadro,driver\u003e=535,driver\u003c536 brand=quadrortx,driver\u003e=535,driver\u003c536 brand=nvidiartx,driver\u003e=535,driver\u003c536 brand=vapps,driver\u003e=535,driver\u003c536 brand=vpc,driver\u003e=535,driver\u003c536 brand=vcs,driver\u003e=535,driver\u003c536 brand=vws,driver\u003e=535,driver\u003c536 brand=cloudgaming,driver\u003e=535,driver\u003c536 brand=unknown,driver\u003e=550,driver\u003c551 brand=grid,driver\u003e=550,driver\u003c551 brand=tesla,driver\u003e=550,driver\u003c551 brand=nvidia,driver\u003e=550,driver\u003c551 brand=quadro,driver\u003e=550,driver\u003c551 brand=quadrortx,driver\u003e=550,driver\u003c551 brand=nvidiartx,driver\u003e=550,driver\u003c551 brand=vapps,driver\u003e=550,driver\u003c551 brand=vpc,driver\u003e=550,driver\u003c551 brand=vcs,driver\u003e=550,driver\u003c551 brand=vws,driver\u003e=550,driver\u003c551 brand=cloudgaming,driver\u003e=550,driver\u003c551",
"NV_CUDA_CUDART_VERSION=12.5.82-1",
"CUDA_VERSION=12.5.1",
"LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
"NVIDIA_VISIBLE_DEVICES=all",
"NVIDIA_DRIVER_CAPABILITIES=compute,utility"
],
"Cmd": [
"/bin/bash"
],
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"maintainer": "NVIDIA CORPORATION \u003csw-cuda-installer@nvidia.com\u003e"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 450118367,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/8cefd21f3ec451105cb0990ebdb4a5192ac9a245fbf1f0c4fde88128a2590f88/diff:/var/lib/docker/overlay2/f4d8dea039d4e23b6f356de864f8249bcb2a8c6a7f3159f2bb5d4aa1629dd02b/diff:/var/lib/docker/overlay2/27c024261f8792459ac2f66241a8b749441306452662119d213b4cf5d0f75cc3/diff:/var/lib/docker/overlay2/42d79997c028454a538c4b5d7f89f322008094fe0db49bf60a1a4c4f65bf227e/diff:/var/lib/docker/overlay2/0f1fd07e4594087aa9d073a223ba5bd0fe590be7f38456a3f79ec3b72a18ce17/diff",
"MergedDir": "/var/lib/docker/overlay2/8e15c4a8ff75d7484f0b5cea5ea5596418e27d5415c6e329d8548975cf411316/merged",
"UpperDir": "/var/lib/docker/overlay2/8e15c4a8ff75d7484f0b5cea5ea5596418e27d5415c6e329d8548975cf411316/diff",
"WorkDir": "/var/lib/docker/overlay2/8e15c4a8ff75d7484f0b5cea5ea5596418e27d5415c6e329d8548975cf411316/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:44343de3ea1d3f71f143967c71a91df76138a17a21ac56642f3c0f2a64b07dce",
"sha256:baaacf5917fff81f999192a9d07ca44a0e2d12cc6c38ba479a9cefe6a36566b4",
"sha256:a155e84dff596215cc81428cb93480a884d3adfd0dd3d7fae8e3341df2820379",
"sha256:ae308b38d5ce562b24b3af81cec8277a39a7a269975e5c7482129e21ed230634",
"sha256:321ba791500a8058cc684918f4d9a134c3585384d250ed1c41cf1a7f466aa2b5",
"sha256:563e7c97ed4d3ed6e70bb03b82738fe7131ca91147b502659423b46f3fa7dfab"
]
},
"Metadata": {
"LastTagTime": "2024-09-23T11:50:37.791870972+08:00"
}
}