PATH=/milvus/bin:/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>=11.8 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
NV_CUDA_CUDART_VERSION=11.8.89-1
NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-8
CUDA_VERSION=11.8.0
LD_LIBRARY_PATH=/milvus/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/lib
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=compute,utility
NV_CUDA_LIB_VERSION=11.8.0-1
NV_NVTX_VERSION=11.8.86-1
NV_LIBNPP_VERSION=11.8.0.86-1
NV_LIBNPP_PACKAGE=libnpp-11-8=11.8.0.86-1
NV_LIBCUSPARSE_VERSION=11.7.5.86-1
NV_LIBCUBLAS_PACKAGE_NAME=libcublas-11-8
NV_LIBCUBLAS_VERSION=11.11.3.6-1
NV_LIBCUBLAS_PACKAGE=libcublas-11-8=11.11.3.6-1
NV_LIBNCCL_PACKAGE_NAME=libnccl2
NV_LIBNCCL_PACKAGE_VERSION=2.15.5-1
NCCL_VERSION=2.15.5-1
NV_LIBNCCL_PACKAGE=libnccl2=2.15.5-1+cuda11.8
NVIDIA_PRODUCT_NAME=CUDA
LD_PRELOAD=/milvus/lib/libjemalloc.so
MALLOC_CONF=background_thread:true
镜像构建历史
# 0001-01-01 08:00:00 2.67GB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=774 ./lib/ /milvus/lib/
# 0001-01-01 08:00:00 93.65KB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=774 ./configs/ /milvus/configs/
# 0001-01-01 08:00:00 251.36MB 复制新文件或目录到容器中
COPY --chown=root:root --chmod=774 ./bin/ /milvus/bin/
# 0001-01-01 08:00:00 24.06KB 执行命令并创建新的镜像层
RUN curl -L -o /tini https://github.com/krallin/tini/releases/download/v0.19.0/tini-$TARGETARCH && chmod +x /tini
# 0001-01-01 08:00:00 115.31MB 执行命令并创建新的镜像层
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates libaio-dev libgomp1 libopenblas-dev && apt-get remove --purge -y && rm -rf /var/lib/apt/lists/*
# 2023-11-10 14:42:37 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
# 2023-11-10 14:42:37 0.00B 设置环境变量 NVIDIA_PRODUCT_NAME
ENV NVIDIA_PRODUCT_NAME=CUDA
# 2023-11-10 14:42:37 2.53KB 复制新文件或目录到容器中
COPY nvidia_entrypoint.sh /opt/nvidia/ # buildkit
# 2023-11-10 14:42:37 3.06KB 复制新文件或目录到容器中
COPY entrypoint.d/ /opt/nvidia/entrypoint.d/ # buildkit
# 2023-11-10 14:42:37 260.16KB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-mark hold ${NV_LIBCUBLAS_PACKAGE_NAME} ${NV_LIBNCCL_PACKAGE_NAME} # buildkit
# 2023-11-10 14:42:36 2.41GB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-libraries-11-8=${NV_CUDA_LIB_VERSION} ${NV_LIBNPP_PACKAGE} cuda-nvtx-11-8=${NV_NVTX_VERSION} libcusparse-11-8=${NV_LIBCUSPARSE_VERSION} ${NV_LIBCUBLAS_PACKAGE} ${NV_LIBNCCL_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
# 2023-11-10 14:42:36 0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
# 2023-11-10 14:42:36 0.00B 定义构建参数
ARG TARGETARCH
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBNCCL_PACKAGE
ENV NV_LIBNCCL_PACKAGE=libnccl2=2.15.5-1+cuda11.8
# 2023-11-10 14:42:36 0.00B 设置环境变量 NCCL_VERSION
ENV NCCL_VERSION=2.15.5-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBNCCL_PACKAGE_VERSION
ENV NV_LIBNCCL_PACKAGE_VERSION=2.15.5-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBNCCL_PACKAGE_NAME
ENV NV_LIBNCCL_PACKAGE_NAME=libnccl2
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBCUBLAS_PACKAGE
ENV NV_LIBCUBLAS_PACKAGE=libcublas-11-8=11.11.3.6-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBCUBLAS_VERSION
ENV NV_LIBCUBLAS_VERSION=11.11.3.6-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBCUBLAS_PACKAGE_NAME
ENV NV_LIBCUBLAS_PACKAGE_NAME=libcublas-11-8
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBCUSPARSE_VERSION
ENV NV_LIBCUSPARSE_VERSION=11.7.5.86-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBNPP_PACKAGE
ENV NV_LIBNPP_PACKAGE=libnpp-11-8=11.8.0.86-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_LIBNPP_VERSION
ENV NV_LIBNPP_VERSION=11.8.0.86-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_NVTX_VERSION
ENV NV_NVTX_VERSION=11.8.86-1
# 2023-11-10 14:42:36 0.00B 设置环境变量 NV_CUDA_LIB_VERSION
ENV NV_CUDA_LIB_VERSION=11.8.0-1
# 2023-11-10 14:37:16 0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
# 2023-11-10 14:37:16 0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
# 2023-11-10 14:37:16 17.29KB 复制新文件或目录到容器中
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
# 2023-11-10 14:37:16 0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
# 2023-11-10 14:37:16 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2023-11-10 14:37:16 46.00B 执行命令并创建新的镜像层
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
# 2023-11-10 14:37:16 150.67MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-cudart-11-8=${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
# 2023-11-10 14:37:01 0.00B 设置环境变量 CUDA_VERSION
ENV CUDA_VERSION=11.8.0
# 2023-11-10 14:37:01 10.56MB 执行命令并创建新的镜像层
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
# 2023-11-10 14:37:01 0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
# 2023-11-10 14:37:01 0.00B 定义构建参数
ARG TARGETARCH
# 2023-11-10 14:37:01 0.00B 设置环境变量 NV_CUDA_COMPAT_PACKAGE
ENV NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-8
# 2023-11-10 14:37:01 0.00B 设置环境变量 NV_CUDA_CUDART_VERSION
ENV NV_CUDA_CUDART_VERSION=11.8.89-1
# 2023-11-10 14:37:01 0.00B 设置环境变量 NVIDIA_REQUIRE_CUDA brand brand brand brand brand brand brand brand brand brand
ENV NVIDIA_REQUIRE_CUDA=cuda>=11.8 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
# 2023-11-10 14:37:01 0.00B 设置环境变量 NVARCH
ENV NVARCH=x86_64
# 2023-10-05 15:33:32 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2023-10-05 15:33:32 77.82MB
/bin/sh -c #(nop) ADD file:63d5ab3ef0aab308c0e71cb67292c5467f60deafa9b0418cbb220affcd078444 in /
# 2023-10-05 15:33:30 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
# 2023-10-05 15:33:30 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2023-10-05 15:33:30 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2023-10-05 15:33:30 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:a626ad5193aac8fbb2a1d54e9a53407bb3cd9e7324edeb8654c843945cd53faa",
"RepoTags": [
"milvusdb/milvus:v2.5.3-gpu",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/milvusdb/milvus:v2.5.3-gpu"
],
"RepoDigests": [
"milvusdb/milvus@sha256:bae9ec49cdb52a92d8bb2c8fbafaebcd83f3c0becc4823e5e17bce13d032b5ba",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/milvusdb/milvus@sha256:d0744ceb823372eebc5ab7da1f6d3adf26237ec3a66e557cf8eed0277ad52204"
],
"Parent": "",
"Comment": "",
"Created": "2025-01-13T07:00:36.130682149Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/milvus/bin:/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=11.8 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",
"NV_CUDA_CUDART_VERSION=11.8.89-1",
"NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-8",
"CUDA_VERSION=11.8.0",
"LD_LIBRARY_PATH=/milvus/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/lib",
"NVIDIA_VISIBLE_DEVICES=all",
"NVIDIA_DRIVER_CAPABILITIES=compute,utility",
"NV_CUDA_LIB_VERSION=11.8.0-1",
"NV_NVTX_VERSION=11.8.86-1",
"NV_LIBNPP_VERSION=11.8.0.86-1",
"NV_LIBNPP_PACKAGE=libnpp-11-8=11.8.0.86-1",
"NV_LIBCUSPARSE_VERSION=11.7.5.86-1",
"NV_LIBCUBLAS_PACKAGE_NAME=libcublas-11-8",
"NV_LIBCUBLAS_VERSION=11.11.3.6-1",
"NV_LIBCUBLAS_PACKAGE=libcublas-11-8=11.11.3.6-1",
"NV_LIBNCCL_PACKAGE_NAME=libnccl2",
"NV_LIBNCCL_PACKAGE_VERSION=2.15.5-1",
"NCCL_VERSION=2.15.5-1",
"NV_LIBNCCL_PACKAGE=libnccl2=2.15.5-1+cuda11.8",
"NVIDIA_PRODUCT_NAME=CUDA",
"LD_PRELOAD=/milvus/lib/libjemalloc.so",
"MALLOC_CONF=background_thread:true"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/milvus",
"Entrypoint": [
"/tini",
"--"
],
"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": 5687229299,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/5601fc63e69da7e42466179e2c3523a8a0a6172d4a20c49066f0dc1ee0e05b32/diff:/var/lib/docker/overlay2/275bd1ca456bb5ccbe86c0c07b314a55a722e5b2e8c4ab7b1896ee978c37c0e4/diff:/var/lib/docker/overlay2/044672f1cfda735ac90a7c5c48b6a54bd0bca748136126d630a2a228d996793f/diff:/var/lib/docker/overlay2/7f69515ab7817ebaedd61ee088dde464d0fd3bf604c8fbbef4c2989f46d79211/diff:/var/lib/docker/overlay2/e189ca0d05a97dd682a69d43de1ca61e4ba4433a92ee316a19bf689a7753eff7/diff:/var/lib/docker/overlay2/f50f7c4cca4885ad02464d121623f297ae6521c6135ccbba5c8a7544849c2a9b/diff:/var/lib/docker/overlay2/762c62d942f8020d680f7390ade4e43537720c9e4fba2e7b8a035b1803a2553a/diff:/var/lib/docker/overlay2/07c00a00f5e99851d620da7bb8f079f0911132b4ce0d5eab86b2aee679109946/diff:/var/lib/docker/overlay2/f439c43911c8b3f46ec4b0a9b13e73aa5174949f4424a7853d48bf8b7ed6a8f8/diff:/var/lib/docker/overlay2/1b9e13eabe784b217a021bfa5c0757af8dccf2d31b075ba03c32f718ac4f2302/diff:/var/lib/docker/overlay2/0667f4efd64773166243841fe20f11cd7886bb726a55a0288b61d37010bb97a9/diff:/var/lib/docker/overlay2/2b874a1d8abb56c0daea2b013eb3b4dcb49c95ef22ee9a909d65a7b375706331/diff:/var/lib/docker/overlay2/f2905627b4505cda033dd62b5a5dc1676edda5a6e1bda7cd6e6e2048fcf5aee0/diff",
"MergedDir": "/var/lib/docker/overlay2/d1b9eec9e2ed44a1885fc31c3df4ae61bd151a45f2c1af9eb1cdef2a81abb09e/merged",
"UpperDir": "/var/lib/docker/overlay2/d1b9eec9e2ed44a1885fc31c3df4ae61bd151a45f2c1af9eb1cdef2a81abb09e/diff",
"WorkDir": "/var/lib/docker/overlay2/d1b9eec9e2ed44a1885fc31c3df4ae61bd151a45f2c1af9eb1cdef2a81abb09e/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:256d88da41857db513b95b50ba9a9b28491b58c954e25477d5dad8abb465430b",
"sha256:e6c05e83c163d632918d1c4906ee088b1e0d93a5bb3acfc6a268da52e76cc945",
"sha256:d6b19a46b795f8b562888c6e2826a6b11f744ab98543268b4d45ee1af05ed1cf",
"sha256:c0e21dcee62311c36e1f025307b3186a4b4a034f0b52011704402b39623b6587",
"sha256:498bbcc60d01b2080fd6fc35117cb82c80ddd4eb8a654ee330dd91587b7ec90b",
"sha256:bc352a27a0e47d42df7bc06e702351a4f3102d20016484c9613644dba63239e0",
"sha256:399d155a03b034314cd9ea52e4e1feca44be4cf92ae172ba9c6ce14f5897f0a2",
"sha256:dcb0f55f81ad931bb976c65730e4bafe7a03936d1fd1bd0fec6a9bcfde23561d",
"sha256:345cfa465206a6d1cc0812481df7edbc4553b64a26c63ccda0e5b11b0f2bf81b",
"sha256:3d8bbb094c5771c50d3fc05f8e0bf535d5f05b842e0177e7d7ede452fded9278",
"sha256:9d1e534d116f5e865dedad88fb954eb6eb98efdf4eac89476e01909de3616cc9",
"sha256:d48c6187eaa6651d56c0f14fc775300d21a1b267948918764ab4d49dd11f737f",
"sha256:5e6b857f6994c5c3d1e0da6e14b1a6c7d349caa3d1f8352044da73fc613cac48",
"sha256:f7bcdcfff0a23f0755375f763d0137b7da4877ce177c42d4739c4336703ecec6"
]
},
"Metadata": {
"LastTagTime": "2025-01-15T12:07:43.028656314+08:00"
}
}