docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel linux/amd64

docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel - 国内下载镜像源 浏览次数:8 安全受验证的发布者-Pytorch

PyTorch是一个深度学习框架,旨在简化机器学习算法的实现和部署。该镜像提供了一个基于Python 3.x的环境,可以用于快速启动和测试PyTorch项目。

源镜像 docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel
镜像ID sha256:9feb3d416f8dbe2c8f1086331c086f8f985f49210a66498edd2aee865ff1832d
镜像TAG 2.2.2-cuda11.8-cudnn8-devel
大小 17.74GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /opt/nvidia/nvidia_entrypoint.sh
工作目录 /workspace
OS/平台 linux/amd64
浏览量 8 次
贡献者
镜像创建 2024-03-27T21:54:42.943874299Z
同步时间 2025-01-18 01:16
更新时间 2025-01-18 09:51
环境变量
PATH=/opt/conda/bin:/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 NV_CUDA_LIB_VERSION=11.8.0-1 NV_NVTX_VERSION=11.8.86-1 NV_LIBNPP_VERSION=11.8.0.86-1 NV_LIBNPP_PACKAGE=libnpp-11-8=11.8.0.86-1 NV_LIBCUSPARSE_VERSION=11.7.5.86-1 NV_LIBCUBLAS_PACKAGE_NAME=libcublas-11-8 NV_LIBCUBLAS_VERSION=11.11.3.6-1 NV_LIBCUBLAS_PACKAGE=libcublas-11-8=11.11.3.6-1 NV_LIBNCCL_PACKAGE_NAME=libnccl2 NV_LIBNCCL_PACKAGE_VERSION=2.15.5-1 NCCL_VERSION=2.15.5-1 NV_LIBNCCL_PACKAGE=libnccl2=2.15.5-1+cuda11.8 NVIDIA_PRODUCT_NAME=CUDA NV_CUDA_CUDART_DEV_VERSION=11.8.89-1 NV_NVML_DEV_VERSION=11.8.86-1 NV_LIBCUSPARSE_DEV_VERSION=11.7.5.86-1 NV_LIBNPP_DEV_VERSION=11.8.0.86-1 NV_LIBNPP_DEV_PACKAGE=libnpp-dev-11-8=11.8.0.86-1 NV_LIBCUBLAS_DEV_VERSION=11.11.3.6-1 NV_LIBCUBLAS_DEV_PACKAGE_NAME=libcublas-dev-11-8 NV_LIBCUBLAS_DEV_PACKAGE=libcublas-dev-11-8=11.11.3.6-1 NV_CUDA_NSIGHT_COMPUTE_VERSION=11.8.0-1 NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE=cuda-nsight-compute-11-8=11.8.0-1 NV_NVPROF_VERSION=11.8.87-1 NV_NVPROF_DEV_PACKAGE=cuda-nvprof-11-8=11.8.87-1 NV_LIBNCCL_DEV_PACKAGE_NAME=libnccl-dev NV_LIBNCCL_DEV_PACKAGE_VERSION=2.15.5-1 NV_LIBNCCL_DEV_PACKAGE=libnccl-dev=2.15.5-1+cuda11.8 LIBRARY_PATH=/usr/local/cuda/lib64/stubs NV_CUDNN_VERSION=8.9.6.50 NV_CUDNN_PACKAGE_NAME=libcudnn8 NV_CUDNN_PACKAGE=libcudnn8=8.9.6.50-1+cuda11.8 NV_CUDNN_PACKAGE_DEV=libcudnn8-dev=8.9.6.50-1+cuda11.8 PYTORCH_VERSION=2.2.2
镜像标签
8.9.6.50: com.nvidia.cudnn.version nvidia_driver: com.nvidia.volumes.needed 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/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel  docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel  docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel

Shell快速替换命令

sed -i 's#pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel  docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel  docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel'

镜像构建历史


# 2024-03-28 05:54:42  0.00B 设置工作目录为/workspace
WORKDIR /workspace
                        
# 2024-03-28 05:54:42  0.00B 设置环境变量 PYTORCH_VERSION
ENV PYTORCH_VERSION=2.2.2
                        
# 2024-03-28 05:54:42  0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
                        
# 2024-03-28 05:54:42  0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
                        
# 2024-03-28 05:54:42  0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
                        
# 2024-03-28 05:54:42  0.00B 设置环境变量 PATH
ENV PATH=/opt/conda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-03-28 05:54:42  0.00B 执行命令并创建新的镜像层
RUN |4 PYTORCH_VERSION=2.2.2 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=11.8.0 /bin/sh -c if test -n "${TRITON_VERSION}" -a "${TARGETPLATFORM}" != "linux/arm64"; then         DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends gcc;         rm -rf /var/lib/apt/lists/*;     fi # buildkit
                        
# 2024-03-28 05:54:41  8.00GB 复制新文件或目录到容器中
COPY /opt/conda /opt/conda # buildkit
                        
# 2024-03-28 05:45:26  3.31MB 执行命令并创建新的镜像层
RUN |4 PYTORCH_VERSION=2.2.2 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=11.8.0 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends         ca-certificates         libjpeg-dev         libpng-dev         && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-03-28 05:45:26  0.00B 添加元数据标签
LABEL com.nvidia.volumes.needed=nvidia_driver
                        
# 2024-03-28 05:45:26  0.00B 定义构建参数
ARG CUDA_VERSION
                        
# 2024-03-28 05:45:26  0.00B 定义构建参数
ARG TARGETPLATFORM
                        
# 2024-03-28 05:45:26  0.00B 定义构建参数
ARG TRITON_VERSION
                        
# 2024-03-28 05:45:26  0.00B 定义构建参数
ARG PYTORCH_VERSION
                        
# 2023-11-10 15:16:45  2.37GB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     ${NV_CUDNN_PACKAGE}     ${NV_CUDNN_PACKAGE_DEV}     && apt-mark hold ${NV_CUDNN_PACKAGE_NAME}     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-11-10 15:16:45  0.00B 添加元数据标签
LABEL com.nvidia.cudnn.version=8.9.6.50
                        
# 2023-11-10 15:16:45  0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
                        
# 2023-11-10 15:16:45  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2023-11-10 15:16:45  0.00B 设置环境变量 NV_CUDNN_PACKAGE_DEV
ENV NV_CUDNN_PACKAGE_DEV=libcudnn8-dev=8.9.6.50-1+cuda11.8
                        
# 2023-11-10 15:16:45  0.00B 设置环境变量 NV_CUDNN_PACKAGE
ENV NV_CUDNN_PACKAGE=libcudnn8=8.9.6.50-1+cuda11.8
                        
# 2023-11-10 15:16:45  0.00B 设置环境变量 NV_CUDNN_PACKAGE_NAME
ENV NV_CUDNN_PACKAGE_NAME=libcudnn8
                        
# 2023-11-10 15:16:45  0.00B 设置环境变量 NV_CUDNN_VERSION
ENV NV_CUDNN_VERSION=8.9.6.50
                        
# 2023-11-10 14:55:21  0.00B 设置环境变量 LIBRARY_PATH
ENV LIBRARY_PATH=/usr/local/cuda/lib64/stubs
                        
# 2023-11-10 14:55:21  383.52KB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-mark hold ${NV_LIBCUBLAS_DEV_PACKAGE_NAME} ${NV_LIBNCCL_DEV_PACKAGE_NAME} # buildkit
                        
# 2023-11-10 14:55:17  4.72GB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     cuda-cudart-dev-11-8=${NV_CUDA_CUDART_DEV_VERSION}     cuda-command-line-tools-11-8=${NV_CUDA_LIB_VERSION}     cuda-minimal-build-11-8=${NV_CUDA_LIB_VERSION}     cuda-libraries-dev-11-8=${NV_CUDA_LIB_VERSION}     cuda-nvml-dev-11-8=${NV_NVML_DEV_VERSION}     ${NV_NVPROF_DEV_PACKAGE}     ${NV_LIBNPP_DEV_PACKAGE}     libcusparse-dev-11-8=${NV_LIBCUSPARSE_DEV_VERSION}     ${NV_LIBCUBLAS_DEV_PACKAGE}     ${NV_LIBNCCL_DEV_PACKAGE}     ${NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE}     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-11-10 14:55:17  0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
                        
# 2023-11-10 14:55:17  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBNCCL_DEV_PACKAGE
ENV NV_LIBNCCL_DEV_PACKAGE=libnccl-dev=2.15.5-1+cuda11.8
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NCCL_VERSION
ENV NCCL_VERSION=2.15.5-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBNCCL_DEV_PACKAGE_VERSION
ENV NV_LIBNCCL_DEV_PACKAGE_VERSION=2.15.5-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBNCCL_DEV_PACKAGE_NAME
ENV NV_LIBNCCL_DEV_PACKAGE_NAME=libnccl-dev
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_NVPROF_DEV_PACKAGE
ENV NV_NVPROF_DEV_PACKAGE=cuda-nvprof-11-8=11.8.87-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_NVPROF_VERSION
ENV NV_NVPROF_VERSION=11.8.87-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE
ENV NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE=cuda-nsight-compute-11-8=11.8.0-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_CUDA_NSIGHT_COMPUTE_VERSION
ENV NV_CUDA_NSIGHT_COMPUTE_VERSION=11.8.0-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBCUBLAS_DEV_PACKAGE
ENV NV_LIBCUBLAS_DEV_PACKAGE=libcublas-dev-11-8=11.11.3.6-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBCUBLAS_DEV_PACKAGE_NAME
ENV NV_LIBCUBLAS_DEV_PACKAGE_NAME=libcublas-dev-11-8
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBCUBLAS_DEV_VERSION
ENV NV_LIBCUBLAS_DEV_VERSION=11.11.3.6-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBNPP_DEV_PACKAGE
ENV NV_LIBNPP_DEV_PACKAGE=libnpp-dev-11-8=11.8.0.86-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBNPP_DEV_VERSION
ENV NV_LIBNPP_DEV_VERSION=11.8.0.86-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_LIBCUSPARSE_DEV_VERSION
ENV NV_LIBCUSPARSE_DEV_VERSION=11.7.5.86-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_NVML_DEV_VERSION
ENV NV_NVML_DEV_VERSION=11.8.86-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_CUDA_CUDART_DEV_VERSION
ENV NV_CUDA_CUDART_DEV_VERSION=11.8.89-1
                        
# 2023-11-10 14:55:17  0.00B 设置环境变量 NV_CUDA_LIB_VERSION
ENV NV_CUDA_LIB_VERSION=11.8.0-1
                        
# 2023-11-10 14:42:37  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
                        
# 2023-11-10 14:42:37  0.00B 设置环境变量 NVIDIA_PRODUCT_NAME
ENV NVIDIA_PRODUCT_NAME=CUDA
                        
# 2023-11-10 14:42:37  2.53KB 复制新文件或目录到容器中
COPY nvidia_entrypoint.sh /opt/nvidia/ # buildkit
                        
# 2023-11-10 14:42:37  3.06KB 复制新文件或目录到容器中
COPY entrypoint.d/ /opt/nvidia/entrypoint.d/ # buildkit
                        
# 2023-11-10 14:42:37  260.16KB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-mark hold ${NV_LIBCUBLAS_PACKAGE_NAME} ${NV_LIBNCCL_PACKAGE_NAME} # buildkit
                        
# 2023-11-10 14:42:36  2.41GB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends     cuda-libraries-11-8=${NV_CUDA_LIB_VERSION}     ${NV_LIBNPP_PACKAGE}     cuda-nvtx-11-8=${NV_NVTX_VERSION}     libcusparse-11-8=${NV_LIBCUSPARSE_VERSION}     ${NV_LIBCUBLAS_PACKAGE}     ${NV_LIBNCCL_PACKAGE}     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2023-11-10 14:42:36  0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
                        
# 2023-11-10 14:42:36  0.00B 定义构建参数
ARG TARGETARCH
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBNCCL_PACKAGE
ENV NV_LIBNCCL_PACKAGE=libnccl2=2.15.5-1+cuda11.8
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NCCL_VERSION
ENV NCCL_VERSION=2.15.5-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBNCCL_PACKAGE_VERSION
ENV NV_LIBNCCL_PACKAGE_VERSION=2.15.5-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBNCCL_PACKAGE_NAME
ENV NV_LIBNCCL_PACKAGE_NAME=libnccl2
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBCUBLAS_PACKAGE
ENV NV_LIBCUBLAS_PACKAGE=libcublas-11-8=11.11.3.6-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBCUBLAS_VERSION
ENV NV_LIBCUBLAS_VERSION=11.11.3.6-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBCUBLAS_PACKAGE_NAME
ENV NV_LIBCUBLAS_PACKAGE_NAME=libcublas-11-8
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBCUSPARSE_VERSION
ENV NV_LIBCUSPARSE_VERSION=11.7.5.86-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBNPP_PACKAGE
ENV NV_LIBNPP_PACKAGE=libnpp-11-8=11.8.0.86-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_LIBNPP_VERSION
ENV NV_LIBNPP_VERSION=11.8.0.86-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_NVTX_VERSION
ENV NV_NVTX_VERSION=11.8.86-1
                        
# 2023-11-10 14:42:36  0.00B 设置环境变量 NV_CUDA_LIB_VERSION
ENV NV_CUDA_LIB_VERSION=11.8.0-1
                        
# 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:9feb3d416f8dbe2c8f1086331c086f8f985f49210a66498edd2aee865ff1832d",
    "RepoTags": [
        "pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel"
    ],
    "RepoDigests": [
        "pytorch/pytorch@sha256:595d9716f3812a796ba8726513487e3d5397cf4ba6e5c9b481f2324f410f2602",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch@sha256:595d9716f3812a796ba8726513487e3d5397cf4ba6e5c9b481f2324f410f2602"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-03-27T21:54:42.943874299Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/conda/bin:/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",
            "NV_CUDA_LIB_VERSION=11.8.0-1",
            "NV_NVTX_VERSION=11.8.86-1",
            "NV_LIBNPP_VERSION=11.8.0.86-1",
            "NV_LIBNPP_PACKAGE=libnpp-11-8=11.8.0.86-1",
            "NV_LIBCUSPARSE_VERSION=11.7.5.86-1",
            "NV_LIBCUBLAS_PACKAGE_NAME=libcublas-11-8",
            "NV_LIBCUBLAS_VERSION=11.11.3.6-1",
            "NV_LIBCUBLAS_PACKAGE=libcublas-11-8=11.11.3.6-1",
            "NV_LIBNCCL_PACKAGE_NAME=libnccl2",
            "NV_LIBNCCL_PACKAGE_VERSION=2.15.5-1",
            "NCCL_VERSION=2.15.5-1",
            "NV_LIBNCCL_PACKAGE=libnccl2=2.15.5-1+cuda11.8",
            "NVIDIA_PRODUCT_NAME=CUDA",
            "NV_CUDA_CUDART_DEV_VERSION=11.8.89-1",
            "NV_NVML_DEV_VERSION=11.8.86-1",
            "NV_LIBCUSPARSE_DEV_VERSION=11.7.5.86-1",
            "NV_LIBNPP_DEV_VERSION=11.8.0.86-1",
            "NV_LIBNPP_DEV_PACKAGE=libnpp-dev-11-8=11.8.0.86-1",
            "NV_LIBCUBLAS_DEV_VERSION=11.11.3.6-1",
            "NV_LIBCUBLAS_DEV_PACKAGE_NAME=libcublas-dev-11-8",
            "NV_LIBCUBLAS_DEV_PACKAGE=libcublas-dev-11-8=11.11.3.6-1",
            "NV_CUDA_NSIGHT_COMPUTE_VERSION=11.8.0-1",
            "NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE=cuda-nsight-compute-11-8=11.8.0-1",
            "NV_NVPROF_VERSION=11.8.87-1",
            "NV_NVPROF_DEV_PACKAGE=cuda-nvprof-11-8=11.8.87-1",
            "NV_LIBNCCL_DEV_PACKAGE_NAME=libnccl-dev",
            "NV_LIBNCCL_DEV_PACKAGE_VERSION=2.15.5-1",
            "NV_LIBNCCL_DEV_PACKAGE=libnccl-dev=2.15.5-1+cuda11.8",
            "LIBRARY_PATH=/usr/local/cuda/lib64/stubs",
            "NV_CUDNN_VERSION=8.9.6.50",
            "NV_CUDNN_PACKAGE_NAME=libcudnn8",
            "NV_CUDNN_PACKAGE=libcudnn8=8.9.6.50-1+cuda11.8",
            "NV_CUDNN_PACKAGE_DEV=libcudnn8-dev=8.9.6.50-1+cuda11.8",
            "PYTORCH_VERSION=2.2.2"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/workspace",
        "Entrypoint": [
            "/opt/nvidia/nvidia_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "com.nvidia.cudnn.version": "8.9.6.50",
            "com.nvidia.volumes.needed": "nvidia_driver",
            "maintainer": "NVIDIA CORPORATION \u003ccudatools@nvidia.com\u003e",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 17738009189,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d0cb9ee39a89da2e87df17431140e36e99ee1fff2a8387e1b4c335396006e663/diff:/var/lib/docker/overlay2/4a0228f16110a54c5614c36f8c423378ae0b9007641111f9f5e915745c7cee51/diff:/var/lib/docker/overlay2/2f22da6fc362740e57a919de568f83148670a06133e3c85b138460d58ee98971/diff:/var/lib/docker/overlay2/740b5890dc034e525943558b36ecba5c32ecdaa60ad41f2d82fcbd282144bea2/diff:/var/lib/docker/overlay2/c60a6df4b39fc233ab857f700bad8f5ee3b448e203f7cfe3249a76ce70eba0b1/diff:/var/lib/docker/overlay2/2066c2d4dc6a5545cb1e0ec90ccfca7e0c0a06f352bd6978cb38fd29b5720f33/diff:/var/lib/docker/overlay2/e189ca0d05a97dd682a69d43de1ca61e4ba4433a92ee316a19bf689a7753eff7/diff:/var/lib/docker/overlay2/f50f7c4cca4885ad02464d121623f297ae6521c6135ccbba5c8a7544849c2a9b/diff:/var/lib/docker/overlay2/762c62d942f8020d680f7390ade4e43537720c9e4fba2e7b8a035b1803a2553a/diff:/var/lib/docker/overlay2/07c00a00f5e99851d620da7bb8f079f0911132b4ce0d5eab86b2aee679109946/diff:/var/lib/docker/overlay2/f439c43911c8b3f46ec4b0a9b13e73aa5174949f4424a7853d48bf8b7ed6a8f8/diff:/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/2571f1e0a7c20beca649acf0fd7d74f2bd8fd37e14a6bbaa1d2317b7d40f0bef/merged",
            "UpperDir": "/var/lib/docker/overlay2/2571f1e0a7c20beca649acf0fd7d74f2bd8fd37e14a6bbaa1d2317b7d40f0bef/diff",
            "WorkDir": "/var/lib/docker/overlay2/2571f1e0a7c20beca649acf0fd7d74f2bd8fd37e14a6bbaa1d2317b7d40f0bef/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:256d88da41857db513b95b50ba9a9b28491b58c954e25477d5dad8abb465430b",
            "sha256:e6c05e83c163d632918d1c4906ee088b1e0d93a5bb3acfc6a268da52e76cc945",
            "sha256:d6b19a46b795f8b562888c6e2826a6b11f744ab98543268b4d45ee1af05ed1cf",
            "sha256:c0e21dcee62311c36e1f025307b3186a4b4a034f0b52011704402b39623b6587",
            "sha256:498bbcc60d01b2080fd6fc35117cb82c80ddd4eb8a654ee330dd91587b7ec90b",
            "sha256:bc352a27a0e47d42df7bc06e702351a4f3102d20016484c9613644dba63239e0",
            "sha256:399d155a03b034314cd9ea52e4e1feca44be4cf92ae172ba9c6ce14f5897f0a2",
            "sha256:dcb0f55f81ad931bb976c65730e4bafe7a03936d1fd1bd0fec6a9bcfde23561d",
            "sha256:345cfa465206a6d1cc0812481df7edbc4553b64a26c63ccda0e5b11b0f2bf81b",
            "sha256:23d753990c8d9e30e33dc706e188972e17fd21ae60b51bbce058d6d74aa08d29",
            "sha256:64758552f6fa927694d06ecab82c2a3d1f55e6bfb09c715b6d37f2963eaaa62c",
            "sha256:383e6312d4f952e0c59b0d42d00c8f4b6da63721e10ad4de2d8e7d26581c1391",
            "sha256:23f475787e033d82c57f46676ad306b2c014c8fa2b3701753b2b9e27c0b599a0",
            "sha256:21cfb6eeefd993fad50510c19ef258c66d2719e775ed8487bb60a19df982557a",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:dffa50d2f5465d39ccdc70dc51f2f585f3516ba3bc22aeb5b252167417904a59"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-18T01:08:09.73912207+08:00"
    }
}

更多版本

docker.io/pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime

linux/amd64 docker.io7.71GB2024-07-18 11:25
1183

docker.io/pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime

linux/amd64 docker.io6.48GB2024-07-26 13:31
853

docker.io/pytorch/pytorch:2.3.0-cuda12.1-cudnn8-devel

linux/amd64 docker.io17.08GB2024-08-06 11:11
654

docker.io/pytorch/pytorch:2.4.1-cuda12.4-cudnn9-runtime

linux/amd64 docker.io5.99GB2024-09-21 01:42
725

docker.io/pytorch/pytorch:2.2.1-cuda12.1-cudnn8-runtime

linux/amd64 docker.io7.60GB2024-09-25 04:29
282

docker.io/pytorch/pytorch:2.4.1-cuda11.8-cudnn9-runtime

linux/amd64 docker.io6.36GB2024-09-28 00:59
316

docker.io/pytorch/pytorch:2.1.0-cuda11.8-cudnn8-devel

linux/amd64 docker.io17.39GB2024-10-02 00:43
257

docker.io/pytorch/pytorch:2.4.1-cuda11.8-cudnn9-devel

linux/amd64 docker.io13.63GB2024-10-23 00:32
189

docker.io/pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel

linux/amd64 docker.io13.17GB2024-11-01 00:22
309

docker.io/pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel

linux/amd64 docker.io13.31GB2024-11-06 01:09
167

docker.io/pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime

linux/amd64 docker.io6.14GB2024-11-06 01:24
214

docker.io/pytorch/pytorch:2.5.0-cuda12.4-cudnn9-runtime

linux/amd64 docker.io6.13GB2024-11-06 01:38
109

docker.io/pytorch/pytorch:2.5.0-cuda12.4-cudnn9-devel

linux/amd64 docker.io13.30GB2024-11-06 01:51
101

docker.io/pytorch/pytorch:2.5.1-cuda12.1-cudnn9-runtime

linux/amd64 docker.io5.90GB2024-11-07 00:14
158

docker.io/pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime

linux/amd64 docker.io8.17GB2024-11-08 00:19
91

docker.io/pytorch/pytorch:2.3.1-cuda12.1-cudnn8-devel

linux/amd64 docker.io17.08GB2024-11-08 00:39
90

docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-devel

linux/amd64 docker.io17.52GB2024-11-08 01:12
128

docker.io/pytorch/pytorch:2.1.2-cuda11.8-cudnn8-devel

linux/amd64 docker.io17.33GB2024-12-10 00:33
72

docker.io/pytorch/pytorch:2.2.0-cuda12.1-cudnn8-devel

linux/amd64 docker.io16.99GB2024-12-15 00:21
63

docker.io/pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel

linux/amd64 docker.io16.58GB2024-12-20 00:05
50

docker.io/pytorch/pytorch:2.1.2-cuda12.1-cudnn8-runtime

linux/amd64 docker.io7.22GB2025-01-10 00:32
25

docker.io/pytorch/pytorch:2.0.0-cuda11.7-cudnn8-devel

linux/amd64 docker.io13.10GB2025-01-11 00:22
30

docker.io/pytorch/pytorch:2.2.2-cuda11.8-cudnn8-devel

linux/amd64 docker.io17.74GB2025-01-18 01:16
7