docker.io/tensorflow/tensorflow:2.17.0-gpu linux/amd64

docker.io/tensorflow/tensorflow:2.17.0-gpu - 国内下载镜像源 浏览次数:22

TensorFlow Docker 镜像

这是一个由 Google 维护的 Docker 镜像,包含 TensorFlow 框架,用于机器学习和深度学习。它提供了一个预先配置的环境,可以轻松地运行 TensorFlow 代码,并包含必要的依赖项和库。

该镜像提供多种版本的 TensorFlow,以及其他工具和库,例如 CUDA 和 cuDNN,用于 GPU 加速。

使用该镜像,您可以快速启动一个 TensorFlow 环境,无需手动安装所有必要的依赖项。它适用于开发、测试和部署 TensorFlow 模型。

您可以通过以下命令拉取该镜像:

docker pull docker.io/tensorflow/tensorflow
源镜像 docker.io/tensorflow/tensorflow:2.17.0-gpu
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu
镜像ID sha256:30369aa97d261be372aa1c1d6802a5df84977a015447056ca2884df23f90d1ad
镜像TAG 2.17.0-gpu
大小 7.40GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 22 次
贡献者
镜像创建 2024-07-12T12:47:14.178120561Z
同步时间 2024-11-13 01:37
更新时间 2024-11-21 11:43
环境变量
PATH=/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>=12.3 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 brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526 brand=tesla,driver>=535,driver<536 brand=unknown,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=geforce,driver>=535,driver<536 brand=geforcertx,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=titan,driver>=535,driver<536 brand=titanrtx,driver>=535,driver<536 NV_CUDA_CUDART_VERSION=12.3.52-1 NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-3 CUDA_VERSION=12.3.0 LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 NVIDIA_VISIBLE_DEVICES=all NVIDIA_DRIVER_CAPABILITIES=compute,utility DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8
镜像标签
NVIDIA CORPORATION <cudatools@nvidia.com>: maintainer ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-13 01:40

低危漏洞:199 中危漏洞:1469 高危漏洞:24 严重漏洞:0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu  docker.io/tensorflow/tensorflow:2.17.0-gpu

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu  docker.io/tensorflow/tensorflow:2.17.0-gpu

Shell快速替换命令

sed -i 's#tensorflow/tensorflow:2.17.0-gpu#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu  docker.io/tensorflow/tensorflow:2.17.0-gpu'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu  docker.io/tensorflow/tensorflow:2.17.0-gpu'

镜像历史

大小 创建时间 层信息
1.92KB 2024-07-12 20:47:14 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.17.0 /bin/sh -c chmod a+rwx /etc/bash.bashrc # buildkit
1.92KB 2024-07-12 20:47:13 COPY bashrc /etc/bash.bashrc # buildkit
29.73KB 2024-07-12 20:47:13 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.17.0 /bin/sh -c /setup.cuda.sh # buildkit
1.31KB 2024-07-12 20:47:13 COPY setup.cuda.sh /setup.cuda.sh # buildkit
2.03GB 2024-07-12 20:47:13 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.17.0 /bin/sh -c pip install --no-cache-dir ${TENSORFLOW_PACKAGE} # buildkit
98.98MB 2024-07-12 20:45:54 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.17.0 /bin/sh -c /setup.python.sh $PYTHON_VERSION /gpu.requirements.txt # buildkit
11.00B 2024-07-12 20:41:23 COPY gpu.requirements.txt /gpu.requirements.txt # buildkit
1.79KB 2024-07-12 20:41:23 COPY setup.python.sh /setup.python.sh # buildkit
0.00B 2024-07-12 20:41:23 ARG TENSORFLOW_PACKAGE=tensorflow==2.17.0
0.00B 2024-07-12 20:41:23 ARG PYTHON_VERSION=python3.11
4.98GB 2024-07-12 20:41:23 RUN /bin/sh -c /setup.packages.sh /gpu.packages.txt # buildkit
56.43MB 2024-07-12 20:37:59 RUN /bin/sh -c /setup.sources.sh # buildkit
527.00B 2024-07-12 20:37:53 COPY gpu.packages.txt /gpu.packages.txt # buildkit
1.18KB 2024-07-12 20:37:53 COPY setup.packages.sh /setup.packages.sh # buildkit
1.38KB 2024-07-12 20:37:53 COPY setup.sources.sh /setup.sources.sh # buildkit
0.00B 2024-07-12 20:37:53 ENV LANG=C.UTF-8
0.00B 2024-07-12 20:37:53 ENV DEBIAN_FRONTEND=noninteractive
0.00B 2023-11-09 10:19:48 ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
0.00B 2023-11-09 10:19:48 ENV NVIDIA_VISIBLE_DEVICES=all
17.29KB 2023-11-09 10:19:48 COPY NGC-DL-CONTAINER-LICENSE / # buildkit
0.00B 2023-11-09 10:19:48 ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
0.00B 2023-11-09 10:19:48 ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
46.00B 2023-11-09 10:19:48 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
154.88MB 2023-11-09 10:19:48 RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-cudart-12-3=${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2023-11-09 10:19:39 ENV CUDA_VERSION=12.3.0
10.56MB 2023-11-09 10:19:39 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
0.00B 2023-11-09 10:19:39 LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
0.00B 2023-11-09 10:19:39 ARG TARGETARCH
0.00B 2023-11-09 10:19:39 ENV NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-3
0.00B 2023-11-09 10:19:39 ENV NV_CUDA_CUDART_VERSION=12.3.52-1
0.00B 2023-11-09 10:19:39 ENV NVIDIA_REQUIRE_CUDA=cuda>=12.3 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 brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526 brand=tesla,driver>=535,driver<536 brand=unknown,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=geforce,driver>=535,driver<536 brand=geforcertx,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=titan,driver>=535,driver<536 brand=titanrtx,driver>=535,driver<536
0.00B 2023-11-09 10:19:39 ENV NVARCH=x86_64
0.00B 2023-10-05 15:33:32 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.82MB 2023-10-05 15:33:32 /bin/sh -c #(nop) ADD file:63d5ab3ef0aab308c0e71cb67292c5467f60deafa9b0418cbb220affcd078444 in /
0.00B 2023-10-05 15:33:30 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2023-10-05 15:33:30 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2023-10-05 15:33:30 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2023-10-05 15:33:30 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:30369aa97d261be372aa1c1d6802a5df84977a015447056ca2884df23f90d1ad",
    "RepoTags": [
        "tensorflow/tensorflow:2.17.0-gpu",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.17.0-gpu"
    ],
    "RepoDigests": [
        "tensorflow/tensorflow@sha256:ebf7ad13136740adeee241fcfe6b14d646e431c6bc5c151d528e31ddafde4623",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow@sha256:8a69015b65d93aeb3ac3dae7b9829583683ad937f0824fd548f5b35e71c39c3f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-12T12:47:14.178120561Z",
    "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",
            "NVARCH=x86_64",
            "NVIDIA_REQUIRE_CUDA=cuda\u003e=12.3 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 brand=tesla,driver\u003e=525,driver\u003c526 brand=unknown,driver\u003e=525,driver\u003c526 brand=nvidia,driver\u003e=525,driver\u003c526 brand=nvidiartx,driver\u003e=525,driver\u003c526 brand=geforce,driver\u003e=525,driver\u003c526 brand=geforcertx,driver\u003e=525,driver\u003c526 brand=quadro,driver\u003e=525,driver\u003c526 brand=quadrortx,driver\u003e=525,driver\u003c526 brand=titan,driver\u003e=525,driver\u003c526 brand=titanrtx,driver\u003e=525,driver\u003c526 brand=tesla,driver\u003e=535,driver\u003c536 brand=unknown,driver\u003e=535,driver\u003c536 brand=nvidia,driver\u003e=535,driver\u003c536 brand=nvidiartx,driver\u003e=535,driver\u003c536 brand=geforce,driver\u003e=535,driver\u003c536 brand=geforcertx,driver\u003e=535,driver\u003c536 brand=quadro,driver\u003e=535,driver\u003c536 brand=quadrortx,driver\u003e=535,driver\u003c536 brand=titan,driver\u003e=535,driver\u003c536 brand=titanrtx,driver\u003e=535,driver\u003c536",
            "NV_CUDA_CUDART_VERSION=12.3.52-1",
            "NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-3",
            "CUDA_VERSION=12.3.0",
            "LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
            "NVIDIA_VISIBLE_DEVICES=all",
            "NVIDIA_DRIVER_CAPABILITIES=compute,utility",
            "DEBIAN_FRONTEND=noninteractive",
            "LANG=C.UTF-8"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "maintainer": "NVIDIA CORPORATION \u003ccudatools@nvidia.com\u003e",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 7400460552,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/731273a220c5a30958381c00e0c5023651393466da45940ca8996f64ec53b93d/diff:/var/lib/docker/overlay2/974249e4a4f6b0c5d034d096af4071cd3e1d56cb9fc91c6ae47ddd0b4575e6cd/diff:/var/lib/docker/overlay2/fb410efcef7b824a58d50c7a08d2c943c627a2d96e56b76442340f4f0e0d1a4b/diff:/var/lib/docker/overlay2/9958ad4a000d34e34e3e37af0c35e473f40549b6a356a3e30db41141e0474dd4/diff:/var/lib/docker/overlay2/350de2cd5a975611292c8a27fc420d55460d69aaf78bfa570cbef1211c6db682/diff:/var/lib/docker/overlay2/275491ae7d1c2bf504785d4b6bc9101c131d8870bfe43da855a8509fd2ba6f4d/diff:/var/lib/docker/overlay2/a84196bd8ff557740dabfb214e372ced97fda7918fed539b0cda62ec0c4b188e/diff:/var/lib/docker/overlay2/46fa3e39902779bee1480307ca02540c3e361fcc16fbe800a981237f077a97f1/diff:/var/lib/docker/overlay2/48ef79b12e82bfb24fa6ec0b538ad2bb544f4c2fbb577636dc7996ef89dfded1/diff:/var/lib/docker/overlay2/4a53ba8075f5154dcb5d4dc61d0f66de1705f8f0a57c785ba2dab27053d4be6e/diff:/var/lib/docker/overlay2/f006fbfc12bd054d3c467952dbbba777e70c1a4b6e1277e95a466976501c009c/diff:/var/lib/docker/overlay2/9729a71094be9958cad350429f09434aabb512ec3fb3d92ac2961b8aebefed75/diff:/var/lib/docker/overlay2/185adceb220bb109706d9fbb1477cbc88d77a87439891081e0aabaa912d4750f/diff:/var/lib/docker/overlay2/3e4ac28ae7ba9f78eca7397b6289d65d6c77112a481c269c11c3bba985ad82db/diff:/var/lib/docker/overlay2/7459eb8aa7508b611855fb450b2ae9c76aabfc1aac2d1d5b425316430304d72c/diff:/var/lib/docker/overlay2/fb98081d443147e302e259a926374c92dabc6796da4b349e8734b9d1b01d6949/diff:/var/lib/docker/overlay2/f2905627b4505cda033dd62b5a5dc1676edda5a6e1bda7cd6e6e2048fcf5aee0/diff",
            "MergedDir": "/var/lib/docker/overlay2/878e50b617ba6cd10b07fe74fe1d5db85e4a2bf9ab3715407f7ffb525c52e859/merged",
            "UpperDir": "/var/lib/docker/overlay2/878e50b617ba6cd10b07fe74fe1d5db85e4a2bf9ab3715407f7ffb525c52e859/diff",
            "WorkDir": "/var/lib/docker/overlay2/878e50b617ba6cd10b07fe74fe1d5db85e4a2bf9ab3715407f7ffb525c52e859/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:256d88da41857db513b95b50ba9a9b28491b58c954e25477d5dad8abb465430b",
            "sha256:25b5af5e3767af990a2d73a739b8f4bcb221397ca1568c774961608d2d3828cf",
            "sha256:fa9c963de60f76f1a6bbad4bbe328d2387f393d29ceb7aae7816bd75c28a7c72",
            "sha256:81f7adde8bead3ade4d8d102af8d59b1063d6f2c63a9fdc1219f69520217f732",
            "sha256:7d363b148ad5b2942948b8eaccdabcaf60dd6e6481ba7963e63176934c2dec79",
            "sha256:a1524f41bf32513efcd516bf2723891fa950c27dda174c21c34b42ae39292593",
            "sha256:f161369a614659452b4992afcd119f46d58f303a542c25378f3b4e76850c1cb9",
            "sha256:62327c39e9354ffc420512937de0ff8f529b9302ce6ec694038507420211cc70",
            "sha256:b6058ab69582f80d5f37e3f9ec013ba754e7d08ff8fd6d4b7ae8244609f5f101",
            "sha256:5072da1eaab4c660f6b9d20be7a2cf175000e44ac14e2ebe70750068576bbf02",
            "sha256:ff26aa7f5c0c9aff1a659c954c125ba055397ad2d1ca3f6142a8d557ede26601",
            "sha256:3cb41d0cedbd7e5e770ca371ac8192504432d41d7cf423fd52bf1e4f32b0474b",
            "sha256:d0bcaabc4015f00993471598714f9d62521a3cf80ec3b7a2f464077f3a11ea9b",
            "sha256:7d2cfd6ca92cad2e090db1ca6a5e4fee83b5d8e59a172272f2f7c20d3a86b8c6",
            "sha256:1cd3f52721f5cf68e427cec7dfab94be1e351c782e0ad6350e09d80a701c8e44",
            "sha256:6e6ac813921a9db09ca8d917d60019946e671867a44502fe22138ff007f8ff76",
            "sha256:4c41713429cdc66c96c2bce6078bf68b7997798a12dafde400ada2deeea3e722",
            "sha256:d2cd9c3f4cf9f3a8eefb6a223aeb13ca380f4220e81e2d6334b52862b104fd94"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-13T01:28:50.506218891+08:00"
    }
}

更多版本

docker.io/tensorflow/tensorflow:2.18.0rc1-jupyter

linux/amd64 docker.io2.24GB2024-10-12 14:05
86

docker.io/tensorflow/tensorflow:nightly-gpu

linux/amd64 docker.io7.35GB2024-10-13 01:19
114

docker.io/tensorflow/tensorflow:latest

linux/amd64 docker.io1.92GB2024-11-10 18:14
38

docker.io/tensorflow/tensorflow:2.17.0-gpu

linux/amd64 docker.io7.40GB2024-11-13 01:37
21

docker.io/tensorflow/tensorflow:2.18.0-gpu

linux/amd64 docker.io7.36GB2024-11-14 00:20
19