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

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

logo
ghcr.io/berriai/litellm:latest
linux/amd64 ghcr.io

litellm 镜像

这是一个用于运行 litellm 的 Docker 容器镜像,litellm 是一个用于构建和部署轻量级语言模型的框架。

该镜像包含 litellm 的所有必要依赖项,方便用户快速部署和使用。

使用该镜像可以轻松构建和运行各种语言模型,例如:

  • 文本分类
  • 机器翻译
  • 问答
  • 代码生成

该镜像由 Berriai 开发维护。

16
浏览次数
1.21GB
镜像大小
源镜像
ghcr.io/berriai/litellm:latest
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest
镜像ID
sha256:07c099ce2ea0d05cd4cea73ba58bf5a661dae9ac2eea93d6c6434ac8f4fe5b88
镜像 TAG
latest
镜像大小
1.21GB
平台架构
linux/amd64
镜像源
ghcr.io
CMD
--port 4000
启动入口
docker/prod_entrypoint.sh
工作目录
/app
OS/平台
linux/amd64
镜像创建
2026-06-20T22:44:49.742117267Z
同步时间
2026-06-22 00:41
浏览量
16 次
贡献者
🔌 开放端口 1
4000/tcp
⚙️ 环境变量 2
KeyValue
PATH=/app/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 0
SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt 1
🏷️ 镜像标签 9
KeyValue
wolfi-base dev.chainguard.image.title
dev.chainguard.package.main
Chainguard Team https://www.chainguard.dev/ org.opencontainers.image.authors
2026-05-05T17:11:16Z org.opencontainers.image.created
33df5891a945de75e31ae5d2b5f1f2c4c8c0fd23 org.opencontainers.image.revision
https://github.com/BerriAI/litellm org.opencontainers.image.source
wolfi-base org.opencontainers.image.title
https://images.chainguard.dev/directory/image/wolfi-base/overview org.opencontainers.image.url
Chainguard org.opencontainers.image.vendor
🛡️ 镜像安全扫描
wolfi 20230201 Trivy 2026-06-22 00:41 查看完整报告
33
低危 LOW
27
中危 MEDIUM
10
高危 HIGH
0
严重 CRITICAL
受影响目标 (3)
ghcr.io/berriai/litellm:latest (wolfi 20230201) wolfi Node.js node-pkg Python python-pkg

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest  ghcr.io/berriai/litellm:latest

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest  ghcr.io/berriai/litellm:latest

Shell快速替换命令

sed -i 's#ghcr.io/berriai/litellm:latest#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest  ghcr.io/berriai/litellm:latest'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest  ghcr.io/berriai/litellm:latest'

镜像构建历史


# 2026-06-21 06:44:49  0.00B 设置默认要执行的命令
CMD ["--port" "4000"]
                        
# 2026-06-21 06:44:49  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker/prod_entrypoint.sh"]
                        
# 2026-06-21 06:44:49  0.00B 声明容器运行时监听的端口
EXPOSE [4000/tcp]
                        
# 2026-06-21 06:44:49  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c find /app/.venv -type f -path "*/tornado/test/*" -delete &&     find /app/.venv -type d -path "*/tornado/test" -delete # buildkit
                        
# 2026-06-21 06:44:49  140.94MB 复制新文件或目录到容器中
COPY /root/.cache/prisma-python /root/.cache/prisma-python # buildkit
                        
# 2026-06-21 06:44:49  106.06MB 复制新文件或目录到容器中
COPY /root/.cache/prisma /root/.cache/prisma # buildkit
                        
# 2026-06-21 06:44:48  723.92MB 复制新文件或目录到容器中
COPY /app /app # buildkit
                        
# 2026-06-18 03:50:53  0.00B 设置环境变量 PATH
ENV PATH=/app/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
                        
# 2026-06-18 03:50:53  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2026-06-18 03:50:53  227.64MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk add --no-cache bash openssl tzdata nodejs npm python3 libsndfile &&     npm install -g npm@11.14.0 tar@7.5.11 glob@13.0.6 @isaacs/brace-expansion@5.0.1 brace-expansion@5.0.5 minimatch@10.2.4 diff@8.0.3 picomatch@4.0.4 &&     GLOBAL="$(npm root -g)" &&     for pkg in tar glob @isaacs/brace-expansion brace-expansion minimatch diff picomatch; do         name="${pkg##*/}";         find "$GLOBAL/npm" -type d -name "$name" -path "*/node_modules/$pkg" | while read d; do             rm -rf "$d" && cp -rL "$GLOBAL/$pkg" "$d";         done;     done &&     npm cache clean --force &&     { apk del --no-cache npm 2>/dev/null || true; } # buildkit
                        
# 2026-06-18 03:50:53  0.00B 指定运行容器时使用的用户
USER root
                        
# 2026-05-06 01:11:16  23.39KB 
apko
                        
# 2026-05-06 01:11:16  10.60KB 
apko
                        
# 2026-05-06 01:11:16  26.23KB 
apko
                        
# 2026-05-06 01:11:16  118.73KB 
apko
                        
# 2026-05-06 01:11:16  199.42KB 
apko
                        
# 2026-05-06 01:11:16  219.25KB 
apko
                        
# 2026-05-06 01:11:16  226.34KB 
apko
                        
# 2026-05-06 01:11:16  380.66KB 
apko
                        
# 2026-05-06 01:11:16  691.95KB 
apko
                        
# 2026-05-06 01:11:16  6.93MB 
apko
                        
# 2026-05-06 01:11:16  7.19MB 
apko
                        
                    

镜像信息

{
    "Id": "sha256:07c099ce2ea0d05cd4cea73ba58bf5a661dae9ac2eea93d6c6434ac8f4fe5b88",
    "RepoTags": [
        "ghcr.io/berriai/litellm:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:latest"
    ],
    "RepoDigests": [
        "ghcr.io/berriai/litellm@sha256:8f3517476b8293ccc1c3b0da7940d8dabbfe64b013454113f5a3cb68265c439b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm@sha256:13386f398cd32d99c2b20586f34ef060615443d1fd2ce548e969e96eff4c3e3d"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-06-20T22:44:49.742117267Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "github.com/chainguard-dev/apko",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "root",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "4000/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/app/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin",
            "SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt"
        ],
        "Cmd": [
            "--port",
            "4000"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": [
            "docker/prod_entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "dev.chainguard.image.title": "wolfi-base",
            "dev.chainguard.package.main": "",
            "org.opencontainers.image.authors": "Chainguard Team https://www.chainguard.dev/",
            "org.opencontainers.image.created": "2026-05-05T17:11:16Z",
            "org.opencontainers.image.revision": "33df5891a945de75e31ae5d2b5f1f2c4c8c0fd23",
            "org.opencontainers.image.source": "https://github.com/BerriAI/litellm",
            "org.opencontainers.image.title": "wolfi-base",
            "org.opencontainers.image.url": "https://images.chainguard.dev/directory/image/wolfi-base/overview",
            "org.opencontainers.image.vendor": "Chainguard"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1214571555,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6c99b81d275ade948f09b458c277a9acf717ef7eb6f177cfd673661832a31dce/diff:/var/lib/docker/overlay2/36ac60d67de228db31e6aab4f7b9b1e7f468352ff860e035f3cfbba6f07132e5/diff:/var/lib/docker/overlay2/3bea74fea2a9f286ad0ed3b125d7699857a01f150151f9fe6403d3cd21b5096a/diff:/var/lib/docker/overlay2/882a9145d9b14db78946f8696743620f0b7fdb1b2521113740755bba8d515069/diff:/var/lib/docker/overlay2/8fc4cee492ee84aab22eb9852b06504ebec95e63c2ac5e968ed4d9452f300e0b/diff:/var/lib/docker/overlay2/cf7ed0c454c6e1df60c2c22ad2ecf70adcf3df00121616a0111856d0ecee7ddd/diff:/var/lib/docker/overlay2/9779546803c9928ef44e92c54cc242c089f1781dd558843c4d9b3052e35d5d55/diff:/var/lib/docker/overlay2/b9c5d7d48994ef2305b7ed7873028998acdeb62bbafbf6af27267b5fbd0362b0/diff:/var/lib/docker/overlay2/b574abf1704c4773d1a6c5cf68acb36a5c61d5cf8e24c87cb9847d4c407bbfd8/diff:/var/lib/docker/overlay2/df374d4c6ae5b822d7387163d39ad1443e222e757d8a522db82d4efaf3abaaa4/diff:/var/lib/docker/overlay2/73a3c81fc785a278614688faa5306e32ddc107634874f22e02d0931439b86729/diff:/var/lib/docker/overlay2/f3101ad151ca6b3b517e971e651eff2befc26a286b3bd8b224f9a71a14373c8f/diff:/var/lib/docker/overlay2/9855dde96bffca3be9a5d530f6ac1990f049f05635ab710782d8ddeed6918e95/diff:/var/lib/docker/overlay2/0ed202344a558223fed60dd7a2523ec76f9c5bad294e6aab5b84e75ece150678/diff:/var/lib/docker/overlay2/6e1c1d965004b50026162d597acc8d60ae9fbe054aa76810da8f14ffb04c0432/diff:/var/lib/docker/overlay2/6df37cec9745400566073d0cc47c73d78de3eb7d0cf41dc9b83d28b54d6f5111/diff",
            "MergedDir": "/var/lib/docker/overlay2/bec2291ea4f9c64a0407e8cc0f6df034edc0a9bb7aa5f5307e8ece993e056e8b/merged",
            "UpperDir": "/var/lib/docker/overlay2/bec2291ea4f9c64a0407e8cc0f6df034edc0a9bb7aa5f5307e8ece993e056e8b/diff",
            "WorkDir": "/var/lib/docker/overlay2/bec2291ea4f9c64a0407e8cc0f6df034edc0a9bb7aa5f5307e8ece993e056e8b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:272d94535c70253a6a7cbb1d96838fd8fa9ed138aea2ce091f74f261095ac5b8",
            "sha256:7b8515b1d8a75419b513a7f7cfecc0563aaeeec468e93c3673122d74cf9e7028",
            "sha256:3c40083cbf9966b9da7f6e55a8dc664faa61deccd9f5d488d718e3d01f4aba29",
            "sha256:6562679d109c939489d457fcbd6d961c9d5f592f316cefcb2e62fa595199797a",
            "sha256:caaccf89b8660b925e0e0266ffdc4f3e3cc7e98e121742c233f199ec167a4920",
            "sha256:70991d5976e247cb33ca1923edd3f609e6c23f527dbe62b838d6a03c0bca6453",
            "sha256:298bacf2e4ef81e719540c35d6f5d69de916d42407dd597c2cc217fa3fed9ea5",
            "sha256:90cfe0bd8cd693b2ee91b94108fc47f023d82edc00e57352ab6635d827b33505",
            "sha256:852a2b9325825ed672cd62abd93cdb8d84ab7b20e881280df38d77ba07531fa3",
            "sha256:b8195249dcd92d2c0519946f0a9f9d9ec7b88e9a19b5f83bc156103a39d5ab50",
            "sha256:8f43f428401b1493736934951e0382ccd856a7cfca2e94ea85eb5e9bd54b0418",
            "sha256:4a9b5d18e9892dd03951ce302f4524014c562cbb9f25fa13fc6c75b668cec546",
            "sha256:df451a76f8efa2f267a5a0224ab7c0c07b7dee34f68fdcf56d808e3366e1604b",
            "sha256:59bac7414d8109a47bad9518917def71480a865b94583ac88e45377074ef8da8",
            "sha256:f273ca6c2fe4fbdcb0657d560a0508970548cdfd821cd871b2eb2387674a0791",
            "sha256:c2d1035ee5e910f851165fd69ff41f715adb67503c29d7430d124c8aedae2090",
            "sha256:b4b99d5e31e3593709732e5bff6062c42d4e18ee34a1c790abe6915d2025a0ea"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-06-22T00:40:17.139799771+08:00"
    }
}

更多版本

ghcr.io/berriai/litellm-non_root:main-v1.48.6

linux/amd64 ghcr.io1.18GB2024-09-29 18:13
1093

ghcr.io/berriai/litellm:main-stable

linux/amd64 ghcr.io1.35GB2024-11-12 11:57
3640

ghcr.io/berriai/litellm:main-v1.63.7-nightly

linux/amd64 ghcr.io1.85GB2025-03-13 14:09
783

ghcr.io/berriai/litellm:main-v1.65.4-stable

linux/amd64 ghcr.io1.89GB2025-04-06 10:24
927

ghcr.io/berriai/litellm:main-v1.66.0-stable

linux/amd64 ghcr.io1.87GB2025-04-15 10:20
932

ghcr.io/berriai/litellm:main-latest

linux/amd64 ghcr.io2.19GB2025-08-20 11:22
1730

ghcr.io/berriai/litellm:v1.75.5-stable

linux/amd64 ghcr.io2.18GB2025-08-20 17:51
527

ghcr.io/berriai/litellm-non_root:main-v1.75.8-stable

linux/amd64 ghcr.io2.23GB2025-08-26 16:36
1094

ghcr.io/berriai/litellm:v1.79.0-stable

linux/amd64 ghcr.io2.16GB2025-11-04 17:09
373

ghcr.io/berriai/litellm:v1.79.1.rc.2

linux/amd64 ghcr.io2.16GB2025-11-05 17:04
263

ghcr.io/berriai/litellm:v1.79.3-stable

linux/amd64 ghcr.io2.17GB2025-11-19 15:13
434

ghcr.io/berriai/litellm:v1.80.0.rc.2

linux/amd64 ghcr.io2.17GB2025-11-19 17:50
327

ghcr.io/berriai/litellm:main-v1.80.7-nightly

linux/amd64 ghcr.io1.92GB2025-11-30 10:23
344
445

ghcr.io/berriai/litellm:v1.80.5-stable

linux/amd64 ghcr.io1.34GB2025-12-11 11:34
464

ghcr.io/berriai/litellm:v1.80.8.rc.1

linux/amd64 ghcr.io1.34GB2025-12-11 14:33
507

ghcr.io/berriai/litellm:v1.82.3-stable

linux/amd64 ghcr.io1.89GB2026-03-17 17:38
602

ghcr.io/berriai/litellm:v1.82.3-stable.patch.2

linux/arm64 ghcr.io1.88GB2026-03-30 10:36
255

ghcr.io/berriai/litellm:v1.82.3-stable.patch.3

linux/amd64 ghcr.io1.89GB2026-04-09 18:58
238

ghcr.io/berriai/litellm:v1.83.3-stable

linux/amd64 ghcr.io1.98GB2026-04-16 10:59
297

ghcr.io/berriai/litellm:main-v1.81.14-stable

linux/amd64 ghcr.io1.88GB2026-04-23 15:31
202

ghcr.io/berriai/litellm:v1.83.7-stable

linux/amd64 ghcr.io1.98GB2026-04-24 12:18
313

ghcr.io/berriai/litellm:v1.83.12-nightly

linux/amd64 ghcr.io1.83GB2026-04-24 13:26
161

ghcr.io/berriai/litellm:v1.83.7-stable.patch.1

linux/amd64 ghcr.io1.98GB2026-04-24 13:38
202

ghcr.io/berriai/litellm-database:v1.85.0

linux/amd64 ghcr.io1.85GB2026-05-20 19:17
151

ghcr.io/berriai/litellm:v1.85.1

linux/amd64 ghcr.io1.20GB2026-05-26 09:22
97

ghcr.io/berriai/litellm:v1.86.2

linux/amd64 ghcr.io1.20GB2026-05-30 18:39
123

ghcr.io/berriai/litellm:v1.87.0

linux/amd64 ghcr.io1.21GB2026-06-02 13:11
167

ghcr.io/berriai/litellm:v1.87.1

linux/amd64 ghcr.io1.21GB2026-06-05 10:57
130

ghcr.io/berriai/litellm-database:v1.88.0

linux/amd64 ghcr.io1.93GB2026-06-08 15:33
64

ghcr.io/berriai/litellm-database:v1.87.2

linux/amd64 ghcr.io1.93GB2026-06-11 16:14
57

ghcr.io/berriai/litellm-database:main-latest

linux/amd64 ghcr.io1.80GB2026-06-11 16:25
57

ghcr.io/berriai/litellm:latest

linux/amd64 ghcr.io1.21GB2026-06-22 00:41
15

ghcr.io/berriai/litellm:v1.89.3

linux/amd64 ghcr.io1.21GB2026-06-22 15:36
14
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×