ℹ️
注意:这是一个 latest 标签镜像

latest 并不代表最新版本,本站同步时间存在延迟,无法保证此镜像与上游最新版本一致
生产环境建议使用明确的版本号(如 v1.2.3),避免因版本不一致导致问题。 了解更多 →

logo
ghcr.io/huggingface/text-embeddings-inference:cpu-latest
linux/amd64 ghcr.io

文本嵌入推断

Hugging Face 提供了一个用于文本嵌入推断的 Docker 镜像。
1634
浏览次数
660.31MB
镜像大小
源镜像
ghcr.io/huggingface/text-embeddings-inference:cpu-latest
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest
镜像ID
sha256:57e60655b3854d2e22fd2659b683f2d26da04a701794eff8e3aa170954497543
镜像 TAG
cpu-latest
镜像大小
660.31MB
平台架构
linux/amd64
镜像源
ghcr.io
CMD
--json-output
启动入口
text-embeddings-router
工作目录
/
OS/平台
linux/amd64
镜像创建
2024-11-27T15:44:35.851207784Z
同步时间
2024-12-04 09:13
浏览量
1634 次
贡献者
⚙️ 环境变量 7
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
HUGGINGFACE_HUB_CACHE=/data 1
PORT=80 2
MKL_ENABLE_INSTRUCTIONS=AVX512_E4 3
RAYON_NUM_THREADS=8 4
LD_PRELOAD=/usr/local/libfakeintel.so 5
LD_LIBRARY_PATH=/usr/local/lib 6
🏷️ 镜像标签 8
KeyValue
2024-11-27T15:37:32.328Z org.opencontainers.image.created
A blazing fast inference solution for text embeddings models org.opencontainers.image.description
Apache-2.0 org.opencontainers.image.licenses
0bfeb7e87ca455dfd75378a37ee83a77f391e4a6 org.opencontainers.image.revision
https://github.com/huggingface/text-embeddings-inference org.opencontainers.image.source
text-embeddings-inference org.opencontainers.image.title
https://github.com/huggingface/text-embeddings-inference org.opencontainers.image.url
cpu-latest org.opencontainers.image.version
🛡️ 镜像安全扫描
debian 12.8 Trivy 2024-12-04 09:15 查看完整报告
105
低危 LOW
18
中危 MEDIUM
11
高危 HIGH
1
严重 CRITICAL
受影响目标 (1)
ghcr.io/huggingface/text-embeddings-inference:cpu-latest (debian 12.8) debian

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest

Shell快速替换命令

sed -i 's#ghcr.io/huggingface/text-embeddings-inference:cpu-latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest  ghcr.io/huggingface/text-embeddings-inference:cpu-latest'

镜像构建历史


# 2024-11-27 23:44:35  0.00B 设置默认要执行的命令
CMD ["--json-output"]
                        
# 2024-11-27 23:44:35  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["text-embeddings-router"]
                        
# 2024-11-27 23:44:35  46.14MB 复制新文件或目录到容器中
COPY /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router # buildkit
                        
# 2024-11-25 22:55:26  15.03KB 复制新文件或目录到容器中
COPY /usr/src/libfakeintel.so /usr/local/libfakeintel.so # buildkit
                        
# 2024-11-25 22:55:26  65.71MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_avx512.so.2 /usr/local/lib/libmkl_avx512.so.2 # buildkit
                        
# 2024-11-25 22:55:26  48.84MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_avx2.so.2 /usr/local/lib/libmkl_avx2.so.2 # buildkit
                        
# 2024-11-25 22:55:26  14.25MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_vml_avx512.so.2 /usr/local/lib/libmkl_vml_avx512.so.2 # buildkit
                        
# 2024-11-25 22:55:26  14.79MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_vml_avx2.so.2 /usr/local/lib/libmkl_vml_avx2.so.2 # buildkit
                        
# 2024-11-25 22:55:26  41.16MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_def.so.2 /usr/local/lib/libmkl_def.so.2 # buildkit
                        
# 2024-11-25 22:55:26  8.75MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_vml_def.so.2 /usr/local/lib/libmkl_vml_def.so.2 # buildkit
                        
# 2024-11-25 22:55:26  71.24MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_core.so.2 /usr/local/lib/libmkl_core.so.2 # buildkit
                        
# 2024-11-25 22:55:26  41.93MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_intel_thread.so.2 /usr/local/lib/libmkl_intel_thread.so.2 # buildkit
                        
# 2024-11-25 22:55:26  24.38MB 复制新文件或目录到容器中
COPY /opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_intel_lp64.so.2 /usr/local/lib/libmkl_intel_lp64.so.2 # buildkit
                        
# 2024-11-25 22:52:48  208.34MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends     libomp-dev     ca-certificates     libssl-dev     curl     && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-11-25 22:52:48  0.00B 设置环境变量 HUGGINGFACE_HUB_CACHE PORT MKL_ENABLE_INSTRUCTIONS RAYON_NUM_THREADS LD_PRELOAD LD_LIBRARY_PATH
ENV HUGGINGFACE_HUB_CACHE=/data PORT=80 MKL_ENABLE_INSTRUCTIONS=AVX512_E4 RAYON_NUM_THREADS=8 LD_PRELOAD=/usr/local/libfakeintel.so LD_LIBRARY_PATH=/usr/local/lib
                        
# 2024-11-11 08:00:00  0.00B 设置默认要执行的命令
CMD ["bash"]
                        
# 2024-11-11 08:00:00  74.78MB 复制文件或目录到容器中
ADD rootfs.tar.xz / # buildkit
                        
                    

镜像信息

{
    "Id": "sha256:57e60655b3854d2e22fd2659b683f2d26da04a701794eff8e3aa170954497543",
    "RepoTags": [
        "ghcr.io/huggingface/text-embeddings-inference:cpu-latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference:cpu-latest"
    ],
    "RepoDigests": [
        "ghcr.io/huggingface/text-embeddings-inference@sha256:7800777a8725fb777626207ca7566462478bafbd7b7057ceea4ed0b4dd31cd33",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/huggingface/text-embeddings-inference@sha256:654ae53297a703994a43e62f026b37cfcb32e5b29b70bb4c88f69e97e1a0153a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-11-27T15:44:35.851207784Z",
    "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/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HUGGINGFACE_HUB_CACHE=/data",
            "PORT=80",
            "MKL_ENABLE_INSTRUCTIONS=AVX512_E4",
            "RAYON_NUM_THREADS=8",
            "LD_PRELOAD=/usr/local/libfakeintel.so",
            "LD_LIBRARY_PATH=/usr/local/lib"
        ],
        "Cmd": [
            "--json-output"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": [
            "text-embeddings-router"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2024-11-27T15:37:32.328Z",
            "org.opencontainers.image.description": "A blazing fast inference solution for text embeddings models",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "0bfeb7e87ca455dfd75378a37ee83a77f391e4a6",
            "org.opencontainers.image.source": "https://github.com/huggingface/text-embeddings-inference",
            "org.opencontainers.image.title": "text-embeddings-inference",
            "org.opencontainers.image.url": "https://github.com/huggingface/text-embeddings-inference",
            "org.opencontainers.image.version": "cpu-latest"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 660312947,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3964962e2acef476e2e12f9701e304e9e2ed03cb64a6bef38c516cf4a3550029/diff:/var/lib/docker/overlay2/c54bf07863e977b1ab6c58f790b91b4be1b9daf58a409afaca71a225bfdf7ef1/diff:/var/lib/docker/overlay2/e8f326ddb1c5f52b08bff404061b40b2ee4440ac96255a149b1298d46839ce90/diff:/var/lib/docker/overlay2/e6326ee72bfeeeb3f478c8b38208f16bae3e3a2bdb136ac046cabd3de2245bf9/diff:/var/lib/docker/overlay2/c798009876da820030036d7816676cab5cd85640cd6aae4ca898092b2fb3f5a4/diff:/var/lib/docker/overlay2/1ed90d3e59c3ec4b9dad65c6484c538baa2b49fdb7725170bea0d6e97877ff3d/diff:/var/lib/docker/overlay2/5d016624763f2fcf972f6492884357a1ab43779143153e57b1c7220f8873bbcd/diff:/var/lib/docker/overlay2/edc758b68fe9a25252db063455edc8ddeca5aeb786261fa8771b03107bb18e9e/diff:/var/lib/docker/overlay2/37f7bebb73751995a1b8a9bb00614c634acdede7a88ff62f007527cb52fcf0e6/diff:/var/lib/docker/overlay2/23e8d84c18fb36dc7f1d513f4834b2182e6afa48b955200d2020d8b2476490ca/diff:/var/lib/docker/overlay2/96f17c3632c0239cfd744870b0e04ecf1dc4bc927eb5b7aa490d24a62b4b40f4/diff:/var/lib/docker/overlay2/91eaeb3375babd906dc7e8a6c516620560ab7dbfb21b9881f9ae71d2e2f398b0/diff",
            "MergedDir": "/var/lib/docker/overlay2/f2be07fc968a913c31f071d3c5ea72ce1afa39d08ad78d667afcab4d464fc89f/merged",
            "UpperDir": "/var/lib/docker/overlay2/f2be07fc968a913c31f071d3c5ea72ce1afa39d08ad78d667afcab4d464fc89f/diff",
            "WorkDir": "/var/lib/docker/overlay2/f2be07fc968a913c31f071d3c5ea72ce1afa39d08ad78d667afcab4d464fc89f/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c3548211b8264f8bfa47a6727043a64f1791b82ac965a284a7ea187e971a95e2",
            "sha256:3841a521f96156cec417ae553cd1f1940bdc3b259368acc98b46bf49a4449b8e",
            "sha256:c7adc32c4a1452bb10ae828390dbeaafc327f936baec5e96e6ff76dec81741e4",
            "sha256:64457ae86fde46d41d3d93c5cb4fed5936509ec5720b2555905c182dfd832e3a",
            "sha256:b7b6858a6a0976f0d9cfe27e474ad6cf590b0a59edd2713bdae2d6bce8d427c8",
            "sha256:d7f5bf2b06e6843597aab0d663889faf700e5d2043415b742846e697be647cbe",
            "sha256:c79995c8243308d856796c1d47889d2e4df1b5cc660b56bf0a3dcba31a7a207f",
            "sha256:0dfba741b91eddb795614e74b74f818f1afa8c3fef118775a0cc56579cd92a66",
            "sha256:ee19b914d0505222a0749847a72028416975e78225597984a9df5df8769a17ec",
            "sha256:723b13ba1c196cf9a4ee89e5864255e9919651c4c7f3b3e381df00afe0149ac0",
            "sha256:5b25c01618013ff5bd74ca4182d2225e97cc8de16a0453c255bdff7a87dab9ef",
            "sha256:609934939b48e39e30c98563f886b42ec2fc7e5357e10c7ed435942d6c19614f",
            "sha256:f6d59a1aff3eeafb05f20980e782e48a4044b021ae8441181f28d2e7dd12f3ed"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-04T09:13:13.230190264+08:00"
    }
}

更多版本

ghcr.io/huggingface/text-embeddings-inference:cpu-1.2

linux/amd64 ghcr.io636.68MB2024-07-25 11:53
1270

ghcr.io/huggingface/text-embeddings-inference:turing-1.5

linux/amd64 ghcr.io900.87MB2024-10-23 11:14
1267

ghcr.io/huggingface/text-embeddings-inference:cpu-latest

linux/amd64 ghcr.io660.31MB2024-12-04 09:13
1633

ghcr.io/huggingface/text-embeddings-inference:1.6

linux/amd64 ghcr.io1.21GB2025-02-25 09:27
1584

ghcr.io/huggingface/text-embeddings-inference:cpu-1.6

linux/amd64 ghcr.io659.95MB2025-02-25 09:47
851

ghcr.io/huggingface/text-embeddings-inference:86-1.6.1

linux/amd64 ghcr.io1.31GB2025-03-31 11:03
577

ghcr.io/huggingface/text-embeddings-inference:86-1.7.0

linux/amd64 ghcr.io1.11GB2025-04-09 09:33
814

ghcr.io/huggingface/text-embeddings-inference:hopper-1.7

linux/amd64 ghcr.io1.11GB2025-04-14 16:27
678

ghcr.io/huggingface/text-embeddings-inference:latest

linux/amd64 ghcr.io1.11GB2025-04-17 14:51
1020

ghcr.io/huggingface/text-embeddings-inference:cpu-1.7

linux/amd64 ghcr.io683.64MB2025-04-29 22:28
959

ghcr.io/huggingface/text-embeddings-inference:1.7

linux/amd64 ghcr.io1.11GB2025-05-14 09:19
652

ghcr.io/huggingface/text-embeddings-inference:86-1.7.1

linux/amd64 ghcr.io1.11GB2025-06-09 16:24
438

ghcr.io/huggingface/text-embeddings-inference:hopper-1.7.1

linux/amd64 ghcr.io1.12GB2025-06-11 17:26
549

ghcr.io/huggingface/text-embeddings-inference:1.7.1

linux/amd64 ghcr.io1.11GB2025-06-13 16:46
497

ghcr.io/huggingface/text-embeddings-inference:1.7.4

linux/amd64 ghcr.io1.11GB2025-07-08 09:31
454

ghcr.io/huggingface/text-embeddings-inference:1.8.0

linux/amd64 ghcr.io1.11GB2025-08-15 16:52
391

ghcr.io/huggingface/text-embeddings-inference:1.8

linux/amd64 ghcr.io1.11GB2025-08-15 17:00
812

ghcr.io/huggingface/text-embeddings-inference:cpu-1.8

linux/amd64 ghcr.io684.32MB2025-09-04 10:19
737

ghcr.io/huggingface/text-embeddings-inference:cuda-1.8.1

linux/amd64 ghcr.io2.65GB2025-09-11 17:54
663

ghcr.io/huggingface/text-embeddings-inference:hopper-1.8

linux/amd64 ghcr.io1.12GB2025-09-11 18:36
364

ghcr.io/huggingface/text-embeddings-inference:86-1.8.2

linux/amd64 ghcr.io1.11GB2025-09-18 21:54
420

ghcr.io/huggingface/text-embeddings-inference:cpu-1.7.2

linux/amd64 ghcr.io684.24MB2025-10-14 15:13
382

ghcr.io/huggingface/text-embeddings-inference:1.7.2

linux/amd64 ghcr.io1.11GB2025-10-14 16:56
406

ghcr.io/huggingface/text-embeddings-inference:89-1.8

linux/amd64 ghcr.io1.11GB2025-10-22 18:00
523

ghcr.io/huggingface/text-embeddings-inference:turing-1.8

linux/amd64 ghcr.io930.07MB2025-10-31 18:57
517

ghcr.io/huggingface/text-embeddings-inference:cpu-1.8.2

linux/amd64 ghcr.io685.78MB2025-12-08 15:35
363

ghcr.io/huggingface/text-embeddings-inference:86-1.9

linux/amd64 ghcr.io5.01GB2026-02-25 00:16
284

ghcr.io/huggingface/text-embeddings-inference:cuda-1.9

linux/amd64 ghcr.io5.17GB2026-02-25 09:12
538

ghcr.io/huggingface/text-embeddings-inference:cuda-1.9.2

linux/amd64 ghcr.io5.17GB2026-03-13 00:40
303

ghcr.io/huggingface/text-embeddings-inference:cpu-1.9.2

linux/amd64 ghcr.io686.07MB2026-03-23 09:55
442

ghcr.io/huggingface/text-embeddings-inference:turing-1.9.2

linux/amd64 ghcr.io4.82GB2026-03-24 01:41
284

ghcr.io/huggingface/text-embeddings-inference:1.9.2

linux/amd64 ghcr.io5.01GB2026-03-24 02:15
266

ghcr.io/huggingface/text-embeddings-inference:turing-1.7.2

linux/amd64 ghcr.io929.91MB2026-03-26 16:18
197

ghcr.io/huggingface/text-embeddings-inference:cpu-arm64-latest

linux/arm64 ghcr.io343.30MB2026-04-27 22:46
282

ghcr.io/huggingface/text-embeddings-inference:86-1.9.2

linux/amd64 ghcr.io5.01GB2026-05-08 01:07
138
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×