logo
docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime
linux/amd64 docker.io 已验证 · Pytorch

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

11
浏览次数
7.96GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime
源镜像
docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime
镜像ID
sha256:4638f27bc2a17c4487d2dcb57e0dca10c9cf6601ee6bf849162b58f1d8b1ee8e
镜像 TAG
2.10.0-cuda12.8-cudnn9-runtime
镜像大小
7.96GB
平台架构
linux/amd64
镜像源
docker.io
CMD
/bin/bash
启动入口
工作目录
/workspace
OS/平台
linux/amd64
镜像创建
2026-01-21T19:16:17.288570881Z
同步时间
2026-07-14 03:39
浏览量
11 次
贡献者
⚙️ 环境变量 5
KeyValue
PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
NVIDIA_VISIBLE_DEVICES=all 1
NVIDIA_DRIVER_CAPABILITIES=compute,utility 2
LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 3
PYTORCH_VERSION=2.10.0 4
🏷️ 镜像标签 3
KeyValue
nvidia_driver com.nvidia.volumes.needed
ubuntu org.opencontainers.image.ref.name
24.04 org.opencontainers.image.version
🛡️ 镜像安全扫描
ubuntu 24.04 Trivy 2026-07-14 03:40 查看完整报告
435
低危 LOW
3070
中危 MEDIUM
314
高危 HIGH
22
严重 CRITICAL
受影响目标 (2)
docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime (ubuntu 24.04) ubuntu Python python-pkg

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime  docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime  docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime

Shell快速替换命令

sed -i 's#pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime  docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime  docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime'

镜像构建历史


# 2026-01-22 03:16:17  0.00B 设置工作目录为/workspace
WORKDIR /workspace
                        
# 2026-01-22 03:16:17  0.00B 设置环境变量 PYTORCH_VERSION
ENV PYTORCH_VERSION=2.10.0
                        
# 2026-01-22 03:16:17  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
                        
# 2026-01-22 03:16:17  0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
                        
# 2026-01-22 03:16:17  0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
                        
# 2026-01-22 03:16:17  0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
                        
# 2026-01-22 03:16:17  166.51MB 执行命令并创建新的镜像层
RUN |4 PYTORCH_VERSION=2.10.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.8.1 /bin/sh -c if test -n "${CUDA_VERSION}" -a "${TARGETPLATFORM}" != "linux/arm64"; then         apt-get update -qq &&         DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc &&         rm -rf /var/lib/apt/lists/*;     fi # buildkit
                        
# 2026-01-22 03:16:06  63.06MB 复制新文件或目录到容器中
COPY /usr/local/bin /usr/local/bin # buildkit
                        
# 2026-01-22 03:16:06  7.53GB 复制新文件或目录到容器中
COPY /usr/local/lib/python3.12 /usr/local/lib/python3.12 # buildkit
                        
# 2026-01-22 03:12:37  124.13MB 执行命令并创建新的镜像层
RUN |4 PYTORCH_VERSION=2.10.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.8.1 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends         ca-certificates         libjpeg-dev         libpng-dev         python-is-python3         python3         python3-dev         python3-pip         && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2026-01-22 03:12:37  0.00B 添加元数据标签
LABEL com.nvidia.volumes.needed=nvidia_driver
                        
# 2026-01-22 03:12:37  0.00B 定义构建参数
ARG CUDA_VERSION=12.8.1
                        
# 2026-01-22 03:12:37  0.00B 定义构建参数
ARG TARGETPLATFORM=linux/amd64
                        
# 2026-01-22 03:12:37  0.00B 定义构建参数
ARG TRITON_VERSION=
                        
# 2026-01-22 03:12:37  0.00B 定义构建参数
ARG PYTORCH_VERSION=2.10.0
                        
# 2026-01-13 13:37:27  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2026-01-13 13:37:27  78.12MB 
/bin/sh -c #(nop) ADD file:3077ee44db3cc7d38740d60a05c81418dd3825a007db473658464f52689e867b in / 
                        
# 2026-01-13 13:37:25  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=24.04
                        
# 2026-01-13 13:37:25  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2026-01-13 13:37:25  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2026-01-13 13:37:25  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:4638f27bc2a17c4487d2dcb57e0dca10c9cf6601ee6bf849162b58f1d8b1ee8e",
    "RepoTags": [
        "pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime"
    ],
    "RepoDigests": [
        "pytorch/pytorch@sha256:b85566342b86d13a67712e9315d40cdc2dad7f8d86df1aff3831f80835edbcca",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch@sha256:b85566342b86d13a67712e9315d40cdc2dad7f8d86df1aff3831f80835edbcca"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-01-21T19:16:17.288570881Z",
    "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",
            "NVIDIA_VISIBLE_DEVICES=all",
            "NVIDIA_DRIVER_CAPABILITIES=compute,utility",
            "LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
            "PYTORCH_VERSION=2.10.0"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/workspace",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "com.nvidia.volumes.needed": "nvidia_driver",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 7962934528,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8f423770d742884be81a7883bd8fe04f817b623839b000c24bc2b90143359e60/diff:/var/lib/docker/overlay2/b47f0e4a4c527222aee8c3cfb65c67518c05e5228b42651f86adc05712b58451/diff:/var/lib/docker/overlay2/90979dcf6fb14bccdf72c3207bf32e0f4b35ede2ba78423dfa663dd8063ef2a4/diff:/var/lib/docker/overlay2/5c4235774b8729440012fffc30d1d5cb31588c95610c0997a89c91306a8236fa/diff:/var/lib/docker/overlay2/95b81b9bc82c1721729b1e7cd95aef3ff2d7e990df6952dfd623ed7eaf17f187/diff",
            "MergedDir": "/var/lib/docker/overlay2/f4958124293cfee5f16285fa382ee8d731adbae0918baa2761710c7642cfaa8a/merged",
            "UpperDir": "/var/lib/docker/overlay2/f4958124293cfee5f16285fa382ee8d731adbae0918baa2761710c7642cfaa8a/diff",
            "WorkDir": "/var/lib/docker/overlay2/f4958124293cfee5f16285fa382ee8d731adbae0918baa2761710c7642cfaa8a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:123a078714d5ea9382d4d9f550753aefce8b34ec5ae11ae8273038d3bcbb943f",
            "sha256:48333cb35865be08958db688da18d15bb98f9c66292109441b96cb9cfa6dafa1",
            "sha256:768cc27957b5d14f0cd69aba747727d9a0f6fe1b0dd50e41a382434a291861a7",
            "sha256:0320afbdc3866862aefcbc0a8cef9d6118c72c99d7ea194420e9022192560081",
            "sha256:d0867f24cbd91969b157dd4871ceba4a982ace1b431f7edf22177ea7d2fb368d",
            "sha256:a8cbe072eb1a94a5de02497ae6de23f619321846d0e4cab3bfa008b64276937c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-07-14T03:39:35.039174805+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/amd64 docker.io17.70GB2025-02-18 00:39
743

docker.io/pytorch/pytorch:2.6.0-cuda12.6-cudnn9-devel

linux/amd64 docker.io13.16GB2025-02-18 01:17
2870

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

linux/amd64 docker.io6.06GB2025-02-27 00:51
3419

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

linux/amd64 docker.io12.84GB2025-02-28 02:38
2973

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

linux/amd64 docker.io13.23GB2025-03-08 01:36
2927

docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-devel

linux/amd64 docker.io13.71GB2025-03-18 02:23
1296

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

linux/amd64 docker.io16.56GB2025-04-15 01:43
839

docker.io/pytorch/pytorch:2.7.0-cuda12.8-cudnn9-runtime

linux/amd64 docker.io7.70GB2025-04-25 04:37
3291

docker.io/pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel

linux/amd64 docker.io7.04GB2025-04-28 16:22
1033

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

linux/amd64 docker.io6.32GB2025-05-07 02:16
1347

docker.io/pytorch/pytorch:latest

linux/amd64 docker.io7.60GB2025-05-14 01:17
1993

docker.io/pytorch/pytorch:2.7.0-cuda12.8-cudnn9-devel

linux/amd64 docker.io16.99GB2025-05-22 02:12
1414

docker.io/pytorch/pytorch:2.7.1-cuda12.8-cudnn9-runtime

linux/amd64 docker.io7.60GB2025-07-02 00:58
2622

docker.io/pytorch/pytorch:2.7.1-cuda12.8-cudnn9-devel

linux/amd64 docker.io16.89GB2025-07-18 04:22
1863

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

linux/amd64 docker.io7.70GB2025-07-24 01:22
1064

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

linux/amd64 docker.io5.93GB2025-07-24 02:12
1194

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

linux/amd64 docker.io6.48GB2025-08-05 01:42
952

docker.io/pytorch/pytorch:2.8.0-cuda12.9-cudnn9-devel

linux/amd64 docker.io18.46GB2025-08-28 02:21
2170

docker.io/pytorch/pytorch:2.8.0-cuda12.8-cudnn9-devel

linux/amd64 docker.io16.93GB2025-09-11 01:44
1352

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

linux/amd64 docker.io13.76GB2025-10-12 02:59
699

docker.io/pytorch/pytorch:2.8.0-cuda12.8-cudnn9-runtime

linux/amd64 docker.io7.69GB2025-10-25 00:53
1642

docker.io/pytorch/pytorch:2.4.1-cuda12.1-cudnn9-devel

linux/amd64 docker.io12.86GB2025-11-01 00:22
770

docker.io/pytorch/pytorch:2.9.0-cuda13.0-cudnn9-runtime

linux/amd64 docker.io5.68GB2025-11-06 02:58
1478

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

linux/amd64 docker.io18.57GB2025-11-10 00:45
432

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

linux/amd64 docker.io8.06GB2025-11-22 01:41
753

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

linux/amd64 docker.io7.20GB2025-12-04 00:11
659

docker.io/pytorch/pytorch:2.8.0-cuda12.9-cudnn9-runtime

linux/amd64 docker.io8.38GB2025-12-10 01:22
673

docker.io/pytorch/pytorch:2.9.1-cuda12.8-cudnn9-runtime

linux/amd64 docker.io7.97GB2025-12-12 00:37
1381

docker.io/pytorch/pytorch:2.9.1-cuda12.8-cudnn9-devel

linux/amd64 docker.io17.21GB2025-12-12 01:02
1576

docker.io/pytorch/pytorch:2.7.0-cuda12.6-cudnn9-runtime

linux/amd64 docker.io6.35GB2025-12-13 01:45
805

docker.io/pytorch/pytorch:1.7.1-cuda11.0-cudnn8-devel

linux/amd64 docker.io12.86GB2025-12-16 01:48
682

docker.io/pytorch/pytorch:1.7.0-cuda11.0-cudnn8-devel

linux/amd64 docker.io11.97GB2025-12-16 02:38
411

docker.io/pytorch/pytorch:2.9.1-cuda12.6-cudnn9-runtime

linux/amd64 docker.io7.12GB2026-01-11 00:39
610

docker.io/pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel

linux/amd64 docker.io16.47GB2026-01-21 01:16
471

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

linux/amd64 docker.io13.52GB2026-02-28 02:06
290

docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-devel

linux/amd64 docker.io17.09GB2026-03-11 02:39
491

docker.io/pytorch/pytorch:2.9.1-cuda13.0-cudnn9-devel

linux/amd64 docker.io12.94GB2026-03-20 02:29
539

docker.io/pytorch/pytorch:2.7.1-cuda12.6-cudnn9-devel

linux/amd64 docker.io13.44GB2026-04-21 02:09
271

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

linux/amd64 docker.io14.96GB2026-04-21 02:15
278

docker.io/pytorch/pytorch:2.11.0-cuda12.6-cudnn9-devel

linux/amd64 docker.io21.29GB2026-04-30 03:39
372

docker.io/pytorch/pytorch:2.11.0-cuda12.6-cudnn9-runtime

linux/amd64 docker.io7.06GB2026-04-30 03:55
302

docker.io/pytorch/pytorch:1.12.1-cuda11.3-cudnn8-devel

linux/amd64 docker.io14.06GB2026-06-06 02:30
96

docker.io/pytorch/pytorch:2.11.0-cuda13.0-cudnn9-runtime

linux/amd64 docker.io5.59GB2026-06-11 04:30
136

docker.io/pytorch/pytorch:2.10.0-cuda13.0-cudnn9-devel

linux/amd64 docker.io12.85GB2026-07-04 02:22
49

docker.io/pytorch/pytorch:2.10.0-cuda12.8-cudnn9-runtime

linux/amd64 docker.io7.96GB2026-07-14 03:39
10
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×