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

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

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

源镜像 docker.io/pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime
镜像ID sha256:ff3746dffb214cae7a04a6293ff0dfd65458adb689597615bb55630dce06758b
镜像TAG 2.3.1-cuda11.8-cudnn8-runtime
大小 8.17GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录 /workspace
OS/平台 linux/amd64
浏览量 92 次
贡献者
镜像创建 2024-06-05T19:28:17.166256565Z
同步时间 2024-11-08 00:19
更新时间 2025-01-17 14:29
环境变量
PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/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=2.3.1
镜像标签
nvidia_driver: com.nvidia.volumes.needed ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-08 00:21

低危漏洞:95 中危漏洞:1260 高危漏洞:25 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.3.1-cuda11.8-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:2.3.1-cuda11.8-cudnn8-runtime && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime  docker.io/pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime'

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-06-06 03:28:17  0.00B 设置工作目录为/workspace
WORKDIR /workspace
                        
# 2024-06-06 03:28:17  0.00B 设置环境变量 PYTORCH_VERSION
ENV PYTORCH_VERSION=2.3.1
                        
# 2024-06-06 03:28:17  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-06-06 03:28:17  0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
                        
# 2024-06-06 03:28:17  0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
                        
# 2024-06-06 03:28:17  0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
                        
# 2024-06-06 03:28:17  0.00B 设置环境变量 PATH
ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-06-06 03:28:17  0.00B 执行命令并创建新的镜像层
RUN |4 PYTORCH_VERSION=2.3.1 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-06-06 03:28:15  8.06GB 复制新文件或目录到容器中
COPY /opt/conda /opt/conda # buildkit
                        
# 2024-06-06 03:19:46  25.97MB 执行命令并创建新的镜像层
RUN |4 PYTORCH_VERSION=2.3.1 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-06-06 03:19:46  0.00B 添加元数据标签
LABEL com.nvidia.volumes.needed=nvidia_driver
                        
# 2024-06-06 03:19:46  0.00B 定义构建参数
ARG CUDA_VERSION
                        
# 2024-06-06 03:19:46  0.00B 定义构建参数
ARG TARGETPLATFORM
                        
# 2024-06-06 03:19:46  0.00B 定义构建参数
ARG TRITON_VERSION
                        
# 2024-06-06 03:19:46  0.00B 定义构建参数
ARG PYTORCH_VERSION
                        
# 2024-06-03 18:32:26  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-06-03 18:32:25  77.86MB 
/bin/sh -c #(nop) ADD file:89847d76d242dea90ede05e9e1e13a1ff4400a65eafbe2d6e31e086c93893580 in / 
                        
# 2024-06-03 18:32:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-06-03 18:32:23  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-06-03 18:32:23  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-06-03 18:32:23  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:ff3746dffb214cae7a04a6293ff0dfd65458adb689597615bb55630dce06758b",
    "RepoTags": [
        "pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch:2.3.1-cuda11.8-cudnn8-runtime"
    ],
    "RepoDigests": [
        "pytorch/pytorch@sha256:ff97981d417f43767865c977591c29e1ce35b076398d5c5122bdca4d2a454e1b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/pytorch/pytorch@sha256:ff97981d417f43767865c977591c29e1ce35b076398d5c5122bdca4d2a454e1b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-06-05T19:28:17.166256565Z",
    "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:/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=2.3.1"
        ],
        "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": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 8167972030,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/55a704bbf82d2af0c233ddfe3dce6fe97b6309f54619d30bdf42e72bf8b9497b/diff:/var/lib/docker/overlay2/6b7b5801430ccc57ededa9cccba04d5d2232699dd91689f943fae6d5a99c36a2/diff:/var/lib/docker/overlay2/a3a66d5938916cc3129c10b70180e9047ea41cc79e520ba1be634ed7f28b751e/diff:/var/lib/docker/overlay2/87cb4b06de0d5fdd665b13b4d17e0cb03a7ecac33dc0f178307f442d7e391a01/diff",
            "MergedDir": "/var/lib/docker/overlay2/b760689c7faf02a460332cd757de28f89900d7d735a48c2caffec7b271b8833f/merged",
            "UpperDir": "/var/lib/docker/overlay2/b760689c7faf02a460332cd757de28f89900d7d735a48c2caffec7b271b8833f/diff",
            "WorkDir": "/var/lib/docker/overlay2/b760689c7faf02a460332cd757de28f89900d7d735a48c2caffec7b271b8833f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:0b9c994b0484c0bc61f9de7c28a58745a504704254c5e8ed12349ebee3393a66",
            "sha256:2260de4fd4e02f9c59f680146e21b86f57eba660fc11fd02f93d30e4de8acd6f",
            "sha256:7bbfb22f7dc3462553d0547caab28f69c26f63f3bc36fe5b80cc3c5404b58a88",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:0962396c30128cac22a1c34c2489bc51bee6e7f218ea5b49abb4ebb665c6181c"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-08T00:10:09.724916122+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
726

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
168

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
10