镜像构建历史
# 2025-04-29 08:25:23 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c rm -rf /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1 /usr/lib/x86_64-linux-gnu/libcuda.so.1 /usr/lib/x86_64-linux-gnu/libcudadebugger.so.1 # buildkit
# 2025-04-28 19:21:37 1.49GB
/bin/bash
# 2025-04-28 18:03:20 0.00B 设置默认要执行的命令
CMD ["/bin/sh" "-c" "/bin/bash"]
# 2025-04-28 18:03:20 6.68GB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install --no-cache-dir --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 # buildkit
# 2025-04-28 18:00:51 1.43GB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install --no-cache-dir -r dev_reqs_cu12.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ # buildkit
# 2025-04-28 17:58:00 297.00B 复制新文件或目录到容器中
COPY ./deploy/dev_reqs_cu12.txt ./dev_reqs_cu12.txt # buildkit
# 2025-04-28 17:58:00 0.00B 设置工作目录为/dev_env
WORKDIR /dev_env
# 2025-04-28 10:04:23 0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c python --version && python3 --version # buildkit
# 2025-04-28 10:04:22 20.50MB 执行命令并创建新的镜像层
RUN /bin/sh -c wget https://bootstrap.pypa.io/get-pip.py && python3.9 get-pip.py && pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && rm get-pip.py # buildkit
# 2025-04-28 09:59:19 6.11KB 执行命令并创建新的镜像层
RUN /bin/sh -c update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 && update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1 # buildkit
# 2025-04-28 09:59:19 682.61MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends software-properties-common wget && add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && apt-get install -y python3.9 python3.9-dev python3.9-distutils gcc ffmpeg libavcodec-extra && rm -rf /var/lib/apt/lists/* # buildkit
# 2025-04-28 09:59:19 0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
# 2025-03-11 06:19:27 0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
# 2025-03-11 06:19:27 0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
# 2025-03-11 06:19:27 17.29KB 复制新文件或目录到容器中
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
# 2025-03-11 06:19:27 0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64
# 2025-03-11 06:19:27 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2025-03-11 06:19:27 22.00B 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c echo "/usr/local/cuda/lib64" >> /etc/ld.so.conf.d/nvidia.conf # buildkit
# 2025-03-11 06:19:27 203.35MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-cudart-12-8=${NV_CUDA_CUDART_VERSION} cuda-compat-12-8 && rm -rf /var/lib/apt/lists/* # buildkit
# 2025-03-11 06:19:09 0.00B 设置环境变量 CUDA_VERSION
ENV CUDA_VERSION=12.8.1
# 2025-03-11 06:19:09 18.35MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends gnupg2 curl ca-certificates && curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/${NVARCH}/3bf863cc.pub | apt-key add - && echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/${NVARCH} /" > /etc/apt/sources.list.d/cuda.list && apt-get purge --autoremove -y curl && rm -rf /var/lib/apt/lists/* # buildkit
# 2025-03-11 06:19:09 0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
# 2025-03-11 06:19:09 0.00B 定义构建参数
ARG TARGETARCH
# 2025-03-11 06:19:09 0.00B 设置环境变量 NV_CUDA_CUDART_VERSION
ENV NV_CUDA_CUDART_VERSION=12.8.90-1
# 2025-03-11 06:19:09 0.00B 设置环境变量 NVIDIA_REQUIRE_CUDA brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand brand
ENV NVIDIA_REQUIRE_CUDA=cuda>=12.8 brand=unknown,driver>=470,driver<471 brand=grid,driver>=470,driver<471 brand=tesla,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=vapps,driver>=470,driver<471 brand=vpc,driver>=470,driver<471 brand=vcs,driver>=470,driver<471 brand=vws,driver>=470,driver<471 brand=cloudgaming,driver>=470,driver<471 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551 brand=unknown,driver>=560,driver<561 brand=grid,driver>=560,driver<561 brand=tesla,driver>=560,driver<561 brand=nvidia,driver>=560,driver<561 brand=quadro,driver>=560,driver<561 brand=quadrortx,driver>=560,driver<561 brand=nvidiartx,driver>=560,driver<561 brand=vapps,driver>=560,driver<561 brand=vpc,driver>=560,driver<561 brand=vcs,driver>=560,driver<561 brand=vws,driver>=560,driver<561 brand=cloudgaming,driver>=560,driver<561 brand=unknown,driver>=565,driver<566 brand=grid,driver>=565,driver<566 brand=tesla,driver>=565,driver<566 brand=nvidia,driver>=565,driver<566 brand=quadro,driver>=565,driver<566 brand=quadrortx,driver>=565,driver<566 brand=nvidiartx,driver>=565,driver<566 brand=vapps,driver>=565,driver<566 brand=vpc,driver>=565,driver<566 brand=vcs,driver>=565,driver<566 brand=vws,driver>=565,driver<566 brand=cloudgaming,driver>=565,driver<566
# 2025-03-11 06:19:09 0.00B 设置环境变量 NVARCH
ENV NVARCH=x86_64
# 2024-10-11 11:38:27 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-10-11 11:38:27 72.81MB
/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in /
# 2024-10-11 11:38:25 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
# 2024-10-11 11:38:25 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2024-10-11 11:38:25 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2024-10-11 11:38:25 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:0d356551ea7156a678c590a300a3174fd7d49d83aa791b773215e3f1ebdeecc0",
"RepoTags": [
"guiji2025/heygem.ai-5090:latest",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/guiji2025/heygem.ai-5090:latest"
],
"RepoDigests": [
"guiji2025/heygem.ai-5090@sha256:b15eafe11801f31d8059fc4714f74155e9e19b45412f2fc350211408d95353d5",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/guiji2025/heygem.ai-5090@sha256:b15eafe11801f31d8059fc4714f74155e9e19b45412f2fc350211408d95353d5"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2025-04-29T08:25:23.289343143+08:00",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "jc",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8383/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/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.8 brand=unknown,driver\u003e=470,driver\u003c471 brand=grid,driver\u003e=470,driver\u003c471 brand=tesla,driver\u003e=470,driver\u003c471 brand=nvidia,driver\u003e=470,driver\u003c471 brand=quadro,driver\u003e=470,driver\u003c471 brand=quadrortx,driver\u003e=470,driver\u003c471 brand=nvidiartx,driver\u003e=470,driver\u003c471 brand=vapps,driver\u003e=470,driver\u003c471 brand=vpc,driver\u003e=470,driver\u003c471 brand=vcs,driver\u003e=470,driver\u003c471 brand=vws,driver\u003e=470,driver\u003c471 brand=cloudgaming,driver\u003e=470,driver\u003c471 brand=unknown,driver\u003e=535,driver\u003c536 brand=grid,driver\u003e=535,driver\u003c536 brand=tesla,driver\u003e=535,driver\u003c536 brand=nvidia,driver\u003e=535,driver\u003c536 brand=quadro,driver\u003e=535,driver\u003c536 brand=quadrortx,driver\u003e=535,driver\u003c536 brand=nvidiartx,driver\u003e=535,driver\u003c536 brand=vapps,driver\u003e=535,driver\u003c536 brand=vpc,driver\u003e=535,driver\u003c536 brand=vcs,driver\u003e=535,driver\u003c536 brand=vws,driver\u003e=535,driver\u003c536 brand=cloudgaming,driver\u003e=535,driver\u003c536 brand=unknown,driver\u003e=550,driver\u003c551 brand=grid,driver\u003e=550,driver\u003c551 brand=tesla,driver\u003e=550,driver\u003c551 brand=nvidia,driver\u003e=550,driver\u003c551 brand=quadro,driver\u003e=550,driver\u003c551 brand=quadrortx,driver\u003e=550,driver\u003c551 brand=nvidiartx,driver\u003e=550,driver\u003c551 brand=vapps,driver\u003e=550,driver\u003c551 brand=vpc,driver\u003e=550,driver\u003c551 brand=vcs,driver\u003e=550,driver\u003c551 brand=vws,driver\u003e=550,driver\u003c551 brand=cloudgaming,driver\u003e=550,driver\u003c551 brand=unknown,driver\u003e=560,driver\u003c561 brand=grid,driver\u003e=560,driver\u003c561 brand=tesla,driver\u003e=560,driver\u003c561 brand=nvidia,driver\u003e=560,driver\u003c561 brand=quadro,driver\u003e=560,driver\u003c561 brand=quadrortx,driver\u003e=560,driver\u003c561 brand=nvidiartx,driver\u003e=560,driver\u003c561 brand=vapps,driver\u003e=560,driver\u003c561 brand=vpc,driver\u003e=560,driver\u003c561 brand=vcs,driver\u003e=560,driver\u003c561 brand=vws,driver\u003e=560,driver\u003c561 brand=cloudgaming,driver\u003e=560,driver\u003c561 brand=unknown,driver\u003e=565,driver\u003c566 brand=grid,driver\u003e=565,driver\u003c566 brand=tesla,driver\u003e=565,driver\u003c566 brand=nvidia,driver\u003e=565,driver\u003c566 brand=quadro,driver\u003e=565,driver\u003c566 brand=quadrortx,driver\u003e=565,driver\u003c566 brand=nvidiartx,driver\u003e=565,driver\u003c566 brand=vapps,driver\u003e=565,driver\u003c566 brand=vpc,driver\u003e=565,driver\u003c566 brand=vcs,driver\u003e=565,driver\u003c566 brand=vws,driver\u003e=565,driver\u003c566 brand=cloudgaming,driver\u003e=565,driver\u003c566",
"NV_CUDA_CUDART_VERSION=12.8.90-1",
"CUDA_VERSION=12.8.1",
"LD_LIBRARY_PATH=/usr/local/cuda/lib64",
"NVIDIA_VISIBLE_DEVICES=all",
"NVIDIA_DRIVER_CAPABILITIES=compute,utility",
"DEBIAN_FRONTEND=noninteractive"
],
"Cmd": [
"/bin/bash"
],
"Image": "",
"Volumes": null,
"WorkingDir": "/dev_env",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"maintainer": "NVIDIA CORPORATION \u003ccudatools@nvidia.com\u003e",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "20.04"
}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 10597102285,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/e5cf2d4e5683311d055deb4591a288d6e57884b822045df5a5a98b6fae190124/diff:/var/lib/docker/overlay2/add44d6f69d764e741abf890cb0036e36a92604bea3c304ed05827c9227a083a/diff:/var/lib/docker/overlay2/b4bfc4a91643126cf74206d360cd801a0ea224a10644cd78f30d084aba7f1b31/diff:/var/lib/docker/overlay2/0bcd440fadd71f940b36ca1a6c2490883514a1f22fca49f175a8ce24493334e3/diff:/var/lib/docker/overlay2/5b949c7ebe46a99e726a74b2eace72bfdaf92373de43c1b26e621a4c7083519e/diff:/var/lib/docker/overlay2/92c117ab74efc316da8831be08ef5e15575f5c866f5b67c3a1bdec3d5c4f5861/diff:/var/lib/docker/overlay2/58b9a4aa8cf1a21e61ae1b0816ba30968c273de795986fc01caf82d23633d647/diff:/var/lib/docker/overlay2/33fe36c540015b2d30ada441c2e2fcad191a6057fc910ccadf152bb8ce2815b9/diff:/var/lib/docker/overlay2/f9aca04a461bd29bbbe69516f2687f4f2001dc1400397a1851b9a73f3ec55035/diff:/var/lib/docker/overlay2/2904a2a43d5d4ccf08666fc976f6ac4828882b9b629b96dd5d29ea8e8a1feb91/diff:/var/lib/docker/overlay2/449eb47746d1d3d52e8c6e7e0fef58d519a500040cf5678558f311e29f967e3e/diff:/var/lib/docker/overlay2/27e2fdd4243b6c61866ccf83a6abf2d325befc38776bfe5a9633374a00ed726f/diff:/var/lib/docker/overlay2/43cc3f09848fcd3a06c0e2cf67425599ab29d0bb712a98d5b617b0f127ecd656/diff:/var/lib/docker/overlay2/364ee650fcb55abc90ea2c6b6b0e7b00ae28674a17a09f26a611d7681de96bc4/diff",
"MergedDir": "/var/lib/docker/overlay2/56e08b7fe2ac4792a780e8fb62e3ce522811fdd14231ca6cdff603662b657d9f/merged",
"UpperDir": "/var/lib/docker/overlay2/56e08b7fe2ac4792a780e8fb62e3ce522811fdd14231ca6cdff603662b657d9f/diff",
"WorkDir": "/var/lib/docker/overlay2/56e08b7fe2ac4792a780e8fb62e3ce522811fdd14231ca6cdff603662b657d9f/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:fffe76c64ef2dee2d80a8bb3ad13d65d596d04a45510b1956a976a69215dae92",
"sha256:aca5cff842a066f88750e50a4cc868ca67758bdf2505679393082aa6e60a1612",
"sha256:c012b8c4b7878d3b1d7e417581de1174438792b05a88cbf9288d41f05cc2d5c2",
"sha256:76fecfe8e17785b92b5ac61adb0b85ef7d13bbf894ed200e0e38edee7a6c9879",
"sha256:6020d84069cf575521faca653d2817e2195b8233b8c4e2d7bc65f3296296c2bb",
"sha256:e9e6b577a84b37aa6b7caa82c6d23a1003d067a6bec6f17a002d5837dd184da0",
"sha256:602503cdab325c2cd68d66116fea1abaa1eb89ec2ef4e623f4e4967548052a9b",
"sha256:c21b8e6c3cb7a9e3a3ba674fa2d908699ca7699ccf3ae9fb6722da4c9d3f4491",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:100e0dc988b96fa0796cbedbe08d6b5166df4857c6c63580d1417a451b96eedd",
"sha256:888af13922b59e6c0a75b7f3fdcb40ade91886081809a82ee3776f27db1aa965",
"sha256:ccc7cd019616ddc48f4086af9990edc1691552f7129c8bb7b02becf98897b774",
"sha256:c299d1cd208f73db43e05862d42136f16e51a61b44e4a62692d99d5a699134a7",
"sha256:69abc116281605e07f827f62377275f14371ce9a58c1b58be8cd3e5cf4af7f70",
"sha256:cd1d83061abc407c55a006cc395798cf58b902c760eb8e51ad2cbba2f3ca6e19"
]
},
"Metadata": {
"LastTagTime": "2025-05-12T01:28:07.586342575+08:00"
}
}