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

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

TensorFlow Docker 镜像

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

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

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

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

docker pull docker.io/tensorflow/tensorflow
源镜像 docker.io/tensorflow/tensorflow:2.18.0-gpu
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.18.0-gpu
镜像ID sha256:df6d9691dd542a21b3e0b6e9f385c7d59b72da7544ad33e3e3d3468f1a4da864
镜像TAG 2.18.0-gpu
大小 7.36GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 19 次
贡献者
镜像创建 2024-10-25T12:45:57.577449971Z
同步时间 2024-11-14 00:20
更新时间 2024-11-21 07:37
环境变量
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-14 00:20

低危漏洞:182 中危漏洞:950 高危漏洞:10 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#tensorflow/tensorflow:2.18.0-gpu#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.18.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.18.0-gpu && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.18.0-gpu  docker.io/tensorflow/tensorflow:2.18.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.18.0-gpu && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.18.0-gpu  docker.io/tensorflow/tensorflow:2.18.0-gpu'

镜像历史

大小 创建时间 层信息
1.92KB 2024-10-25 20:45:57 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.18.0 /bin/sh -c chmod a+rwx /etc/bash.bashrc # buildkit
1.92KB 2024-10-25 20:45:57 COPY bashrc /etc/bash.bashrc # buildkit
29.73KB 2024-10-25 20:45:57 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.18.0 /bin/sh -c /setup.cuda.sh # buildkit
1.31KB 2024-10-25 20:45:57 COPY setup.cuda.sh /setup.cuda.sh # buildkit
1.97GB 2024-10-25 20:45:57 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.18.0 /bin/sh -c pip install --no-cache-dir ${TENSORFLOW_PACKAGE} # buildkit
101.56MB 2024-10-25 20:45:18 RUN |2 PYTHON_VERSION=python3.11 TENSORFLOW_PACKAGE=tensorflow==2.18.0 /bin/sh -c /setup.python.sh $PYTHON_VERSION /gpu.requirements.txt # buildkit
11.00B 2024-10-25 20:41:28 COPY gpu.requirements.txt /gpu.requirements.txt # buildkit
1.79KB 2024-10-25 20:41:28 COPY setup.python.sh /setup.python.sh # buildkit
0.00B 2024-10-25 20:41:28 ARG TENSORFLOW_PACKAGE=tensorflow==2.18.0
0.00B 2024-10-25 20:41:28 ARG PYTHON_VERSION=python3.11
4.98GB 2024-10-25 20:41:28 RUN /bin/sh -c /setup.packages.sh /gpu.packages.txt # buildkit
61.33MB 2024-10-25 20:38:19 RUN /bin/sh -c /setup.sources.sh # buildkit
527.00B 2024-10-25 20:38:07 COPY gpu.packages.txt /gpu.packages.txt # buildkit
1.18KB 2024-10-25 20:38:07 COPY setup.packages.sh /setup.packages.sh # buildkit
1.38KB 2024-10-25 20:38:07 COPY setup.sources.sh /setup.sources.sh # buildkit
0.00B 2024-10-25 20:38:07 ENV LANG=C.UTF-8
0.00B 2024-10-25 20:38:07 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:df6d9691dd542a21b3e0b6e9f385c7d59b72da7544ad33e3e3d3468f1a4da864",
    "RepoTags": [
        "tensorflow/tensorflow:2.18.0-gpu",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow:2.18.0-gpu"
    ],
    "RepoDigests": [
        "tensorflow/tensorflow@sha256:1f16fbd9be8bb84891de12533e332bbd500511caeb5cf4db501dbe39d422f9c7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/tensorflow/tensorflow@sha256:a65daa9ec828b4b52ba471d1f553c08b6ffcd6ee88e201fbca6842ae7ff43f09"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-25T12:45:57.577449971Z",
    "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": 7356313424,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/81d7d134023bb6fd3d4f7c158ef57db78b08d5043c8436f8fcba9f88e896a001/diff:/var/lib/docker/overlay2/b09926e8c403dbd2ba5744e798734da058ae8c57f3c0d5dcdc76f8342a4b9d0c/diff:/var/lib/docker/overlay2/9006d6a70b561394a4181059ab3b1264d27128cdab12e31775982ea30db9333b/diff:/var/lib/docker/overlay2/11da1d161a0bc33adf55b608fd14883b6c6b4ea4ab0fc02782b30e8c1118a426/diff:/var/lib/docker/overlay2/dd9130b54ca8f20bc47d55b0b81126b67c38ca652bfd47a80293e6a12a622d79/diff:/var/lib/docker/overlay2/cd1678d564931f76f1ac8f332ef271674f911657308a2ab67a60baad189c34fb/diff:/var/lib/docker/overlay2/36c6426f2527252fda12713f1f6c5721f5593d4d2f5514c302a8687cd7812f5e/diff:/var/lib/docker/overlay2/19b386edd02fbddd9506b3ebf9c0d2ff186f0cfed638eba039b2269559352031/diff:/var/lib/docker/overlay2/d966ca4d5864c12f33a58f8b6463657167e494766441bdb9d57f49bbd52faf1a/diff:/var/lib/docker/overlay2/11a0f089bb29efffbbf294bfd3ba983cf4a792d684d7b1497d74a40acf62f503/diff:/var/lib/docker/overlay2/8797a25654dc8110302f1df8890bdb8d414d143a7b8b07701e259d52a6b0db95/diff:/var/lib/docker/overlay2/5d4375c4ec313df979b43ad0b261cb1ca13c73b25cedb9cf0113e2c57ad04d32/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/f0fbe4ce780b7cac6418695b567705ee8f6e2ccd0b6a03b80484e498b75f9d9a/merged",
            "UpperDir": "/var/lib/docker/overlay2/f0fbe4ce780b7cac6418695b567705ee8f6e2ccd0b6a03b80484e498b75f9d9a/diff",
            "WorkDir": "/var/lib/docker/overlay2/f0fbe4ce780b7cac6418695b567705ee8f6e2ccd0b6a03b80484e498b75f9d9a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:256d88da41857db513b95b50ba9a9b28491b58c954e25477d5dad8abb465430b",
            "sha256:25b5af5e3767af990a2d73a739b8f4bcb221397ca1568c774961608d2d3828cf",
            "sha256:fa9c963de60f76f1a6bbad4bbe328d2387f393d29ceb7aae7816bd75c28a7c72",
            "sha256:81f7adde8bead3ade4d8d102af8d59b1063d6f2c63a9fdc1219f69520217f732",
            "sha256:7d363b148ad5b2942948b8eaccdabcaf60dd6e6481ba7963e63176934c2dec79",
            "sha256:89353afe17ddf9b0ac72e9ffd5bc39070d288bf9289a95e2e5be3486c0dada69",
            "sha256:d749eff901f9c8805c14fcf083a6bf9203b9f98940d71ced24250fec1d90e3b1",
            "sha256:1fb3f52f11874372979a2bbb3de608374ac1fd8854ef63c2222303ad739fad45",
            "sha256:b7111ebeed754800f826dc6c11473aa354cd8441bd98c06f43bae4721e7ea674",
            "sha256:078389280a24e33dc909f221d24235a58f3f5a3e68f0a5973429270fda316036",
            "sha256:aa0b675d745e38fb91229df70eae7a34e727accc06559ed1caeecfd042516dc1",
            "sha256:ed1a13afa1c38ee214a13d37736159752c404b3cecaeb39d93a1df4d1de52df9",
            "sha256:508a7fede109dfec3fe6a5ea49ea942c4c248bbbe7badbc0720437dfce55a5a1",
            "sha256:56894d57e111ce16aaaf6f36297c4e89c37c287edb120b4b4a9d8421474cb459",
            "sha256:c78a4a3e13a48efd2aeb67fb45b4d081089aebbebc24ba7140a6e4406305f74f",
            "sha256:f827cc585b6937175e5bd8f4d1cf569a0ebe9fb2375cbddd3d894dfa5f90f89d",
            "sha256:d61fa77b00b4b5e16866055ee366eebb1894dcfbb1a26849eb0c5ee6dd64820c",
            "sha256:71e729c01f76a3af2f849eeb1b8c75e2db89a225fc9c57a4f403b24404fef735"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-14T00:10:47.033542443+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
18