logo
docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime
linux/amd64 docker.io 已验证 · Pytorch 张战成 贡献

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

17
浏览次数
9.96GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime
源镜像
docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime
镜像ID
sha256:71eb2d0921388e709f44b8e3464dddf988e3c832e1224e2e2f3613a8d7346536
镜像 TAG
1.13.1-cuda11.6-cudnn8-runtime
镜像大小
9.96GB
平台架构
linux/amd64
镜像源
docker.io
CMD
bash
启动入口
工作目录
/workspace
OS/平台
linux/amd64
镜像创建
2022-12-20T13:39:12.912745121-08:00
同步时间
2026-11-08 00:23
浏览量
17 次
贡献者
avatar 张战成
⚙️ 环境变量 5
KeyValue
PATH=/opt/conda/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=v1.13.1 4
🏷️ 镜像标签 1
KeyValue
nvidia_driver com.nvidia.volumes.needed

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime  docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime  docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2022-12-21 05:39:12  0.00B 设置工作目录为/workspace
WORKDIR /workspace
                        
# 2022-12-21 05:39:11  0.00B 设置环境变量 PYTORCH_VERSION
ENV PYTORCH_VERSION=v1.13.1
                        
# 2022-12-21 05:39:11  0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
                        
# 2022-12-21 05:39:11  0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
                        
# 2022-12-21 05:39:11  0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
                        
# 2022-12-21 05:39:11  0.00B 设置环境变量 PATH
ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2022-12-21 05:39:11  9.86GB 复制新文件或目录到容器中
COPY /opt/conda /opt/conda # buildkit
                        
# 2022-12-21 05:29:51  32.34MB 执行命令并创建新的镜像层
RUN |1 PYTORCH_VERSION=v1.13.1 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends         ca-certificates         libjpeg-dev         libpng-dev &&     rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2022-12-21 05:29:51  0.00B 添加元数据标签
LABEL com.nvidia.volumes.needed=nvidia_driver
                        
# 2022-12-21 05:29:51  0.00B 定义构建参数
ARG PYTORCH_VERSION
                        
# 2022-12-09 09:20:12  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-12-09 09:20:11  63.15MB 
/bin/sh -c #(nop) ADD file:3c88cea17de40599dc8b8da90adc8439635066835e930f9573ec6cc856c5c096 in / 
                        
                    

镜像信息

{
    "Id": "sha256:71eb2d0921388e709f44b8e3464dddf988e3c832e1224e2e2f3613a8d7346536",
    "RepoTags": [
        "pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime"
    ],
    "RepoDigests": [
        "pytorch/pytorch@sha256:1e26efd426b0fecbfe7cf3d3ae5003fada6ac5a76eddc1e042857f5d049605ee",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch@sha256:1e26efd426b0fecbfe7cf3d3ae5003fada6ac5a76eddc1e042857f5d049605ee"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2022-12-20T13:39:12.912745121-08:00",
    "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/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=v1.13.1"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/workspace",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "com.nvidia.volumes.needed": "nvidia_driver"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 9955380136,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f5ecd6438d3a9e42756d72d8d745aa6748d769285306137b606b6477cfc4e4c7/diff:/var/lib/docker/overlay2/7efab09871b990ca3861128816f23609f34ad89db765d151502c4b96e335e9fd/diff:/var/lib/docker/overlay2/e10725a5bf81a80b93348d170d1798e4be30397970f6f5c678f3ac62b8a7240b/diff",
            "MergedDir": "/var/lib/docker/overlay2/f6e3f49f3208bc7c88bc1dcb9ff9ef91facdc1f71d927d09996c479ade8a4d98/merged",
            "UpperDir": "/var/lib/docker/overlay2/f6e3f49f3208bc7c88bc1dcb9ff9ef91facdc1f71d927d09996c479ade8a4d98/diff",
            "WorkDir": "/var/lib/docker/overlay2/f6e3f49f3208bc7c88bc1dcb9ff9ef91facdc1f71d927d09996c479ade8a4d98/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:45bbe3d22998589317c7f6c4dd591475423bb37ca9b922529c5878653483b18d",
            "sha256:aa7652a10f81aae476ac054b4cfd26b1435b74b9ddb6ef7e34ac01c63f087fe8",
            "sha256:1d1bf9a3cb962c88f1094d0bce0a1f7e28f267aba9eab8ddbda1402bd243d195",
            "sha256:2f9392706e5a44770faf7a4fc482dd394907b2ecbb67e961ee38e16020a04a85"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-11-08T00:16:05.28409643+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

linux/amd64 docker.io9.96GB2026-11-08 00:23
16

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/amd64 docker.io7.96GB2026-07-14 03:39
351

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

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

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

linux/amd64 docker.io5.68GB2026-10-31 02:42
55

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

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

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

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

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

linux/amd64 docker.io7.74GB2026-08-26 00:05
213

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

linux/amd64 docker.io19.93GB2026-08-18 00:54
203

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

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

docker.io/pytorch/pytorch:2.12.1-cuda13.2-cudnn9-runtime

linux/amd64 docker.io5.60GB2026-07-29 02:11
265

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

linux/amd64 docker.io7.14GB2026-10-14 00:19
94

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

linux/amd64 docker.io20.68GB2026-08-09 05:22
257

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

linux/amd64 docker.io5.65GB2026-11-01 01:50
53

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

linux/amd64 docker.io7.38GB2026-10-01 00:24
103

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/amd64 docker.io6.25GB2026-10-20 00:20
71

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

docker.io/pytorch/pytorch:latest

linux/amd64 docker.io7.60GB2025-05-14 01:17
2411
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×