Overview
- Full name
docker.io/gaord/m3e-large-api- Registry
- docker.io
- Namespace
- gaord
- Repository
- m3e-large-api
- Cached tags
- 1
- Last synced
- 07/06/2026, 05:22 AM
Introduction
M3E-Large 中文向量嵌入 API 服务镜像,提供 OpenAI 兼容 /embeddings 接口,适合 RAG 检索增强内网部署。
Details
gaord/m3e-large-api 加载 M3E-Large 中文 embedding 模型,暴露 HTTP API 供应用向量化文本。定位为向量推理 HTTP 服务,CPU 可运行,模型 cache 用 volume;K8s Deployment 供 RAG 流水线调用。
快速启动
docker run -d --name m3e-api \
-p 8000:8000 \
docker.io/gaord/m3e-large-api:latest
推荐实践
docker run -d --name m3e-api \
--restart unless-stopped \
-p 8000:8000 \
-v /data/m3e-cache:/root/.cache \
docker.io/gaord/m3e-large-api:1.0.0
核心参数说明
-p 8000:8000— Embedding API 端口-v .../m3e-cache:...— 模型权重缓存--restart unless-stopped— API 持续在线- 固定 tag — M3E 模型 pin
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: m3e-api
spec:
replicas: 2
selector:
matchLabels:
app: m3e-api
template:
metadata:
labels:
app: m3e-api
spec:
containers:
- name: api
image: docker.io/gaord/m3e-large-api:1.0.0
ports:
- containerPort: 8000
volumeMounts:
- name: cache
mountPath: /root/.cache
volumes:
- name: cache
persistentVolumeClaim:
claimName: m3e-cache
---
apiVersion: v1
kind: Service
metadata:
name: m3e-api
spec:
selector:
app: m3e-api
ports:
- port: 8000
targetPort: 8000
RAG 应用经 ClusterIP 调用;GPU 可选加速。
Latest tags (20)
View all 1 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/gaord/m3e-large-api :231129 | linux/arm64/v8linux/amd64 | 2023/11/30 12:57 | 2.5 GB | sha256:e2e02eac9eab… |