源镜像 |
docker.io/nvidia/cuda:12.6.1-base-ubi9 |
国内镜像 |
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9 |
镜像ID |
sha256:2cd1743e1121ad126171d435b388f21894a814e635b0a2fb23f968b3bc01b27b |
镜像TAG |
12.6.1-base-ubi9 |
大小 |
390.99MB |
镜像源 |
docker.io |
项目信息 |
Docker-Hub主页 🚀项目TAG 🚀 |
CMD |
/bin/bash |
启动入口 |
|
工作目录 |
|
OS/平台 |
linux/amd64
|
浏览量 |
272 次 |
贡献者 |
|
镜像创建 |
2024-09-16T16:58:01.886044427Z |
同步时间 |
2024-09-23 15:33 |
更新时间 |
2025-01-18 05:09 |
PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
container=oci
NVARCH=x86_64
NVIDIA_REQUIRE_CUDA=cuda>=12.6 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.6.68-1
CUDA_VERSION=12.6.1
LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=compute,utility
x86_64: architecture
2024-09-09T02:35:25: build-date
ubi9-container: com.redhat.component
https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI: com.redhat.license_terms
The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.: description
public: distribution-scope
1.29.0: io.buildah.version
The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.: io.k8s.description
Red Hat Universal Base Image 9: io.k8s.display-name
: io.openshift.expose-services
base rhel9: io.openshift.tags
NVIDIA CORPORATION <sw-cuda-installer@nvidia.com>: maintainer
ubi9: name
1214.1725849297: release
Provides the latest release of Red Hat Universal Base Image 9.: summary
https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.4-1214.1725849297: url
e309397d02fc53f7fa99db1371b8700eb49f268f: vcs-ref
git: vcs-type
Red Hat, Inc.: vendor
9.4: version
Docker拉取命令 无权限下载?点我修复
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9 docker.io/nvidia/cuda:12.6.1-base-ubi9
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9 docker.io/nvidia/cuda:12.6.1-base-ubi9
Shell快速替换命令
sed -i 's#nvidia/cuda:12.6.1-base-ubi9#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9#' deployment.yaml
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9 docker.io/nvidia/cuda:12.6.1-base-ubi9'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9 docker.io/nvidia/cuda:12.6.1-base-ubi9'
镜像构建历史
# 2024-09-17 00:58:01 0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
# 2024-09-17 00:58:01 0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
# 2024-09-17 00:58:01 17.29KB 复制新文件或目录到容器中
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
# 2024-09-17 00:58:01 0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
# 2024-09-17 00:58:01 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-09-17 00:58:01 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-09-17 00:58:01 177.97MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c yum upgrade -y && yum install -y cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} cuda-compat-12-6 && yum clean all && rm -rf /var/cache/yum/* # buildkit
# 2024-09-17 00:57:51 0.00B 设置环境变量 CUDA_VERSION
ENV CUDA_VERSION=12.6.1
# 2024-09-17 00:57:51 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-09-17 00:57:50 0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <sw-cuda-installer@nvidia.com>
# 2024-09-17 00:57:50 0.00B 定义构建参数
ARG TARGETARCH
# 2024-09-17 00:57:50 165.00B 复制新文件或目录到容器中
COPY cuda.repo-x86_64 /etc/yum.repos.d/cuda.repo # buildkit
# 2024-09-17 00:57:50 0.00B 设置环境变量 NV_CUDA_CUDART_VERSION
ENV NV_CUDA_CUDART_VERSION=12.6.68-1
# 2024-09-17 00:57:50 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.6 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-09-17 00:57:50 0.00B 设置环境变量 NVARCH
ENV NVARCH=x86_64
# 2024-09-09 10:46:26 213.00MB
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
# 2024-09-09 10:46:24 0.00B
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
# 2024-09-09 10:46:23 0.00B
/bin/sh -c rm -f '/etc/yum.repos.d/odcs-3464206-199c4.repo' '/etc/yum.repos.d/rhel-9.4-compose-34ae9.repo'
# 2024-09-09 10:46:22 0.00B
/bin/sh -c #(nop) LABEL "release"="1214.1725849297" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-09-09T02:35:25" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="e309397d02fc53f7fa99db1371b8700eb49f268f" "io.k8s.description"="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.4-1214.1725849297"
# 2024-09-09 10:46:22 0.00B
/bin/sh -c #(nop) ADD file:f47b0d17ab310db0380bc861c4cc427f6725d35ae8df26113048997b8aef1b6b in /root/buildinfo/Dockerfile-ubi9-9.4-1214.1725849297
# 2024-09-09 10:46:22 0.00B
/bin/sh -c #(nop) ADD file:19d9d82c71c5c2e43e0516e86d713e9a5112521e9caa0e5d8d09fe7d92451c07 in /root/buildinfo/content_manifests/ubi9-container-9.4-1214.1725849297.json
# 2024-09-09 10:46:22 0.00B
/bin/sh -c mkdir -p /var/log/rhsm
# 2024-09-09 10:46:21 0.00B
/bin/sh -c rm -rf /var/log/*
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) ENV container oci
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container" name="ubi9" version="9.4"
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) ADD multi:91888bb231f36a25c84f05db4d13197ea848b09abe661f7b153d55f6f6af43de in /etc/yum.repos.d/
# 2024-09-09 10:46:20 0.00B
/bin/sh -c #(nop) ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem
# 2024-09-09 10:46:20 0.00B
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
# 2024-09-09 10:46:19 0.00B
/bin/sh -c #(nop) ADD file:2ec11db2b95a12ab9da844e402939fb429572472771ee390e42b3cd3afac5a80 in /
镜像信息
{
"Id": "sha256:2cd1743e1121ad126171d435b388f21894a814e635b0a2fb23f968b3bc01b27b",
"RepoTags": [
"nvidia/cuda:12.6.1-base-ubi9",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda:12.6.1-base-ubi9"
],
"RepoDigests": [
"nvidia/cuda@sha256:1170a5981b3e769eb46da3f1588dd827853f45387326aad328efb685b9d6e478",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nvidia/cuda@sha256:dc3152081a1eea952fa37a2671bd0a2b5d29f527060926d1d6d868d2336af338"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-09-16T16:58:01.886044427Z",
"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",
"container=oci",
"NVARCH=x86_64",
"NVIDIA_REQUIRE_CUDA=cuda\u003e=12.6 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.6.68-1",
"CUDA_VERSION=12.6.1",
"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": {
"architecture": "x86_64",
"build-date": "2024-09-09T02:35:25",
"com.redhat.component": "ubi9-container",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
"description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
"distribution-scope": "public",
"io.buildah.version": "1.29.0",
"io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
"io.k8s.display-name": "Red Hat Universal Base Image 9",
"io.openshift.expose-services": "",
"io.openshift.tags": "base rhel9",
"maintainer": "NVIDIA CORPORATION \u003csw-cuda-installer@nvidia.com\u003e",
"name": "ubi9",
"release": "1214.1725849297",
"summary": "Provides the latest release of Red Hat Universal Base Image 9.",
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.4-1214.1725849297",
"vcs-ref": "e309397d02fc53f7fa99db1371b8700eb49f268f",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "9.4"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 390989075,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/49e97b765a9f72662ecae4871ff355ed8bc20a29929b22a079366919886e0f1b/diff:/var/lib/docker/overlay2/759fd6111efc77c8c1e411c46fe7b4984721623845a8add774b6aea394bc05bb/diff:/var/lib/docker/overlay2/bea4de07791413f32c210c9858399a748f60f9b5eb4120991cf2c0579555991b/diff:/var/lib/docker/overlay2/7d6897cf90f1dd0d87edcf7c85ddd65ec4d3d94b89492b2b00e5e3e39d544f74/diff:/var/lib/docker/overlay2/cdeb2d23c4ff247227e598faee38d63f75bb61e03a9491fc099491c27c695177/diff",
"MergedDir": "/var/lib/docker/overlay2/a8ffe963ae9658ee59b9f9a0122ecb4f215193d218ec54822f073e44181142ad/merged",
"UpperDir": "/var/lib/docker/overlay2/a8ffe963ae9658ee59b9f9a0122ecb4f215193d218ec54822f073e44181142ad/diff",
"WorkDir": "/var/lib/docker/overlay2/a8ffe963ae9658ee59b9f9a0122ecb4f215193d218ec54822f073e44181142ad/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:6d85b78d777130d08d3bf59aef73f22487a827d4529bbe45fc92c32cdb667b7b",
"sha256:a5af3fcc66ee179cc06b4150645080c57aecb82c8b08ec46fb8d82e190442baa",
"sha256:9541d5f388545efd281b02e4473405b1dcef120dc4883ce2bc48da113e4d6a11",
"sha256:81641bceeafb6b1a94fe71ac074b6c497ef37210e996d955d5de692390d41727",
"sha256:7116315b43609eabc1ea884e7fbc66af55a04afc9e3d5d704736368e3151950c",
"sha256:83516605db2027f1fbfb997f27d3b0a965d0b8b85b9a1757b0c51a835cecfbfe"
]
},
"Metadata": {
"LastTagTime": "2024-09-23T15:33:09.468881315+08:00"
}
}