源镜像 |
docker.io/vllm/vllm-openai:v0.6.4 |
国内镜像 |
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4 |
镜像ID |
sha256:13c224cdc000daef9fa04fbc9acc38dd36bb31121dd9f0ae049e5253d716da9f |
镜像TAG |
v0.6.4 |
大小 |
10.64GB |
镜像源 |
docker.io |
项目信息 |
Docker-Hub主页 🚀项目TAG 🚀 |
CMD |
|
启动入口 |
python3 -m vllm.entrypoints.openai.api_server |
工作目录 |
/vllm-workspace |
OS/平台 |
linux/amd64
|
浏览量 |
65 次 |
贡献者 |
|
镜像创建 |
2024-11-14T23:43:21.82513845-08:00 |
同步时间 |
2024-12-11 02:08 |
更新时间 |
2024-12-26 19: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.4 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.4.127-1
NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-4
CUDA_VERSION=12.4.1
LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
NVIDIA_VISIBLE_DEVICES=all
NVIDIA_DRIVER_CAPABILITIES=compute,utility
DEBIAN_FRONTEND=noninteractive
VLLM_USAGE_SOURCE=production-docker-image
NVIDIA CORPORATION <cudatools@nvidia.com>: maintainer
ubuntu: org.opencontainers.image.ref.name
22.04: org.opencontainers.image.version
Docker拉取命令 无权限下载?点我修复
docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4
docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4 docker.io/vllm/vllm-openai:v0.6.4
Containerd拉取命令
ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4
ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4 docker.io/vllm/vllm-openai:v0.6.4
Shell快速替换命令
sed -i 's#vllm/vllm-openai:v0.6.4#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4#' deployment.yaml
Ansible快速分发-Docker
#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4 && docker tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4 docker.io/vllm/vllm-openai:v0.6.4'
Ansible快速分发-Containerd
#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4 && ctr images tag swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4 docker.io/vllm/vllm-openai:v0.6.4'
镜像构建历史
# 2024-11-15 15:43:21 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "-m" "vllm.entrypoints.openai.api_server"]
# 2024-11-15 15:43:21 0.00B 设置环境变量 VLLM_USAGE_SOURCE
ENV VLLM_USAGE_SOURCE=production-docker-image
# 2024-11-15 15:43:21 467.64MB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install accelerate hf_transfer 'modelscope!=1.15.0' 'bitsandbytes>=0.44.0' timm==0.9.10 # buildkit
# 2024-11-15 15:42:58 283.95KB 复制新文件或目录到容器中
COPY examples examples # buildkit
# 2024-11-15 15:42:58 1.84GB 执行命令并创建新的镜像层
RUN |2 CUDA_VERSION=12.4.1 PYTHON_VERSION=3.12 /bin/sh -c . /etc/environment && python3 -m pip install https://github.com/flashinfer-ai/flashinfer/releases/download/v0.1.6/flashinfer-0.1.6+cu121torch2.4-cp${PYTHON_VERSION_STR}-cp${PYTHON_VERSION_STR}-linux_x86_64.whl # buildkit
# 2024-11-15 15:42:07 7.00GB 执行命令并创建新的镜像层
RUN |2 CUDA_VERSION=12.4.1 PYTHON_VERSION=3.12 /bin/sh -c python3 -m pip install dist/*.whl --verbose # buildkit
# 2024-10-15 05:03:28 49.80KB 执行命令并创建新的镜像层
RUN |2 CUDA_VERSION=12.4.1 PYTHON_VERSION=3.12 /bin/sh -c ldconfig /usr/local/cuda-$(echo $CUDA_VERSION | cut -d. -f1,2)/compat/ # buildkit
# 2024-10-15 05:03:27 1.08GB 执行命令并创建新的镜像层
RUN |2 CUDA_VERSION=12.4.1 PYTHON_VERSION=3.12 /bin/sh -c echo 'tzdata tzdata/Areas select America' | debconf-set-selections && echo 'tzdata tzdata/Zones/America select Los_Angeles' | debconf-set-selections && apt-get update -y && apt-get install -y ccache software-properties-common git curl sudo vim python3-pip && apt-get install -y ffmpeg libsm6 libxext6 libgl1 && add-apt-repository ppa:deadsnakes/ppa && apt-get update -y && apt-get install -y python${PYTHON_VERSION} python${PYTHON_VERSION}-dev python${PYTHON_VERSION}-venv libibverbs-dev && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 && update-alternatives --set python3 /usr/bin/python${PYTHON_VERSION} && ln -sf /usr/bin/python${PYTHON_VERSION}-config /usr/bin/python3-config && curl -sS https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION} && python3 --version && python3 -m pip --version # buildkit
# 2024-10-15 04:28:06 136.00B 执行命令并创建新的镜像层
RUN |2 CUDA_VERSION=12.4.1 PYTHON_VERSION=3.12 /bin/sh -c PYTHON_VERSION_STR=$(echo ${PYTHON_VERSION} | sed 's/\.//g') && echo "export PYTHON_VERSION_STR=${PYTHON_VERSION_STR}" >> /etc/environment # buildkit
# 2024-07-06 03:52:48 0.00B 设置环境变量 DEBIAN_FRONTEND
ENV DEBIAN_FRONTEND=noninteractive
# 2024-07-06 03:52:48 0.00B 设置工作目录为/vllm-workspace
WORKDIR /vllm-workspace
# 2024-07-06 03:52:48 0.00B 定义构建参数
ARG PYTHON_VERSION=3.12
# 2024-07-06 03:52:48 0.00B 定义构建参数
ARG CUDA_VERSION=12.4.1
# 2024-04-23 07:42:28 0.00B 设置环境变量 NVIDIA_DRIVER_CAPABILITIES
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
# 2024-04-23 07:42:28 0.00B 设置环境变量 NVIDIA_VISIBLE_DEVICES
ENV NVIDIA_VISIBLE_DEVICES=all
# 2024-04-23 07:42:28 17.29KB 复制新文件或目录到容器中
COPY NGC-DL-CONTAINER-LICENSE / # buildkit
# 2024-04-23 07:42:28 0.00B 设置环境变量 LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
# 2024-04-23 07:42:28 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
# 2024-04-23 07:42:28 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
# 2024-04-23 07:42:28 155.93MB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends cuda-cudart-12-4=${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} && rm -rf /var/lib/apt/lists/* # buildkit
# 2024-04-23 07:42:16 0.00B 设置环境变量 CUDA_VERSION
ENV CUDA_VERSION=12.4.1
# 2024-04-23 07:42:16 10.57MB 执行命令并创建新的镜像层
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.1-1_all.deb && dpkg -i cuda-keyring_1.1-1_all.deb && apt-get purge --autoremove -y curl && rm -rf /var/lib/apt/lists/* # buildkit
# 2024-04-23 07:42:16 0.00B 添加元数据标签
LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>
# 2024-04-23 07:42:16 0.00B 定义构建参数
ARG TARGETARCH
# 2024-04-23 07:42:16 0.00B 设置环境变量 NV_CUDA_COMPAT_PACKAGE
ENV NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-4
# 2024-04-23 07:42:16 0.00B 设置环境变量 NV_CUDA_CUDART_VERSION
ENV NV_CUDA_CUDART_VERSION=12.4.127-1
# 2024-04-23 07:42:16 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
ENV NVIDIA_REQUIRE_CUDA=cuda>=12.4 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
# 2024-04-23 07:42:16 0.00B 设置环境变量 NVARCH
ENV NVARCH=x86_64
# 2024-04-11 02:52:04 0.00B
/bin/sh -c #(nop) CMD ["/bin/bash"]
# 2024-04-11 02:52:04 77.86MB
/bin/sh -c #(nop) ADD file:3bd10da0673e2e72cb06a1f64a9df49a36341df39b0f762e3d1b38ee4de296fa in /
# 2024-04-11 02:52:02 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
# 2024-04-11 02:52:02 0.00B
/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
# 2024-04-11 02:52:02 0.00B
/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
# 2024-04-11 02:52:02 0.00B
/bin/sh -c #(nop) ARG RELEASE
镜像信息
{
"Id": "sha256:13c224cdc000daef9fa04fbc9acc38dd36bb31121dd9f0ae049e5253d716da9f",
"RepoTags": [
"vllm/vllm-openai:v0.6.4",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai:v0.6.4"
],
"RepoDigests": [
"vllm/vllm-openai@sha256:a92879ddd1317c5040065d3d48eccfa06554702712c8965479ce2429f8d423d6",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/vllm/vllm-openai@sha256:e9a5e73c71b3569d682e167985d9a6f592c9bbfbf877fa32aa537b59815206cf"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2024-11-14T23:43:21.82513845-08:00",
"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.4 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.4.127-1",
"NV_CUDA_COMPAT_PACKAGE=cuda-compat-12-4",
"CUDA_VERSION=12.4.1",
"LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
"NVIDIA_VISIBLE_DEVICES=all",
"NVIDIA_DRIVER_CAPABILITIES=compute,utility",
"DEBIAN_FRONTEND=noninteractive",
"VLLM_USAGE_SOURCE=production-docker-image"
],
"Cmd": null,
"Image": "",
"Volumes": null,
"WorkingDir": "/vllm-workspace",
"Entrypoint": [
"python3",
"-m",
"vllm.entrypoints.openai.api_server"
],
"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": 10643796710,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/fb6042fffd78c32643d1b2d26dead598ab8207c5d52ccaba6b41d916f7923713/diff:/var/lib/docker/overlay2/1b995a7fae4c06dc5d9d1292d21cf453902dd9e5389903b4752ab04050408ee1/diff:/var/lib/docker/overlay2/6ff937ed3b6dd971f16d14318cf877d1cfbb3758a38cb6ae0470bde73eec57f0/diff:/var/lib/docker/overlay2/94fee34df4d76d738bc00e3c296aed5693c93e11f7c1490899c13ebc3ba8ef65/diff:/var/lib/docker/overlay2/65a5a94fdda4b072b3052c966d4acca1aa119fec9c04d98392abe0b5401ff2ed/diff:/var/lib/docker/overlay2/abd4cd0fbcfe86ca6f1d873277b60628543b973d438380312f63bc99b104f7b0/diff:/var/lib/docker/overlay2/4c67546afd93a1bdc27661bdff66ec6ebf9b49eb7ae33aa8b6dda039bf2d0065/diff:/var/lib/docker/overlay2/d0a507259d74e5b5ec4da75be6517077b4e41b069bdf1cd37885253a325d817e/diff:/var/lib/docker/overlay2/c96adcef9058d31322df86df81cbd7502a196242984e59d1e04b199271c6d221/diff:/var/lib/docker/overlay2/74792e268953b4fdb260ea0804d8d312f9193ba3f2f5b0effaae5ea56fcfd80c/diff:/var/lib/docker/overlay2/d610c5cb5669b0a70624a55babbe27b4d9bcec57558962c147458ff2bf897525/diff:/var/lib/docker/overlay2/148bcc66ab70b6cb427a25a34862b3d6697911eccdb26609268f0f32a3858f97/diff",
"MergedDir": "/var/lib/docker/overlay2/fb1498c60fe195abfee6ecdeb7bbdb58764023b342cddc2d43f9ed71b2f90977/merged",
"UpperDir": "/var/lib/docker/overlay2/fb1498c60fe195abfee6ecdeb7bbdb58764023b342cddc2d43f9ed71b2f90977/diff",
"WorkDir": "/var/lib/docker/overlay2/fb1498c60fe195abfee6ecdeb7bbdb58764023b342cddc2d43f9ed71b2f90977/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:e0a9f5911802534ba097660206feabeb0247a81e409029167b30e2e1f2803b57",
"sha256:47654eeadbc543f1dd44ebb41c6ca0954b9f1813efabdcd46b0e7f17ac4e9fd1",
"sha256:efe2b79b53de08e199a2ce107d83adc0cbdff94f605e03f5ef51f3df3ae31cfd",
"sha256:46d54736d31f4bfeb749544e22e8611dba11128bdb2cebb820a3b452b50e7d52",
"sha256:809d3bb9c80fb3d31d4c061ba0b38ba4e83b6329e33c2cb2bbf27251a8e527c6",
"sha256:c1773f613c662964cd11fa206779f38c92fb00e3a835e7931070285cfd68aadd",
"sha256:e37cbea0d17fcd8906d4136f2eab993b6eef803eb8141933f596e7b6d78c6636",
"sha256:e819f72bf6d3ec7ed9a85b73f5b1af866fe7765b1d0a7a9908cbca1fde836038",
"sha256:0f1574f66fa6175a23113c89ce6fb60f321c30c428ccccf2f4061c42375fa766",
"sha256:32dea894a7aed09da15ce1d6eb2cb3d46aca9ebe6a0b14f9eeef7a8f7f32e4ac",
"sha256:b53775f06cf8bfcbabb767ba2b55f88e212111813ccdd3ddb52f2114b7463280",
"sha256:1b981f7f1ad5c4bfd93650905cc51f7118e70880232478114f30e19eb0e36232",
"sha256:33da2b638a0b016c7f5ae3af4a3ecb2163e1e61aa139befa0d6ab035c08f2601"
]
},
"Metadata": {
"LastTagTime": "2024-12-11T01:56:56.202095852+08:00"
}
}