ghcr.io/berriai/litellm:v1.87.1 linux/amd64

ghcr.io/berriai/litellm:v1.87.1 - 国内下载镜像源 浏览次数:10

litellm 镜像

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

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

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

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

该镜像由 Berriai 开发维护。

源镜像 ghcr.io/berriai/litellm:v1.87.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:v1.87.1
镜像ID sha256:0183af13935fb3a66de0349f1a66cb3153f25511739321c10312a39d43505a54
镜像TAG v1.87.1
大小 1.21GB
镜像源 ghcr.io
CMD --port 4000
启动入口 docker/prod_entrypoint.sh
工作目录 /app
OS/平台 linux/amd64
浏览量 10 次
贡献者
镜像创建 2026-06-04T16:25:34.219281542Z
同步时间 2026-06-05 10:57
开放端口
4000/tcp
环境变量
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
镜像标签
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 cc9b99c2e35795476c7a00e34a85ee0573d6d66c: 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

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2026-06-05 00:25:34  0.00B 设置默认要执行的命令
CMD ["--port" "4000"]
                        
# 2026-06-05 00:25:34  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker/prod_entrypoint.sh"]
                        
# 2026-06-05 00:25:34  0.00B 声明容器运行时监听的端口
EXPOSE [4000/tcp]
                        
# 2026-06-05 00:25:34  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-05 00:25:33  140.94MB 复制新文件或目录到容器中
COPY /root/.cache/prisma-python /root/.cache/prisma-python # buildkit
                        
# 2026-06-05 00:25:33  106.06MB 复制新文件或目录到容器中
COPY /root/.cache/prisma /root/.cache/prisma # buildkit
                        
# 2026-06-05 00:25:33  721.40MB 复制新文件或目录到容器中
COPY /app /app # buildkit
                        
# 2026-06-04 13:00:37  0.00B 设置环境变量 PATH
ENV PATH=/app/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
                        
# 2026-06-04 13:00:37  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2026-06-04 13:00:37  227.04MB 执行命令并创建新的镜像层
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-04 13:00:37  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:0183af13935fb3a66de0349f1a66cb3153f25511739321c10312a39d43505a54",
    "RepoTags": [
        "ghcr.io/berriai/litellm:v1.87.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm:v1.87.1"
    ],
    "RepoDigests": [
        "ghcr.io/berriai/litellm@sha256:9de33287d844a164f873479a04eebe065610e131d7e3aaf010f520fb5b4cfd7b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/berriai/litellm@sha256:fa0a0d56b7bc64de2f25aafc427f5d33ec781a4a5a9658b50f3fb9e8848c6779"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-06-04T16:25:34.219281542Z",
    "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": "cc9b99c2e35795476c7a00e34a85ee0573d6d66c",
            "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": 1211448676,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b7efaa7a1fc959062da50cf22c2a6a3f11f41c4ae0a421c742e6c669577381da/diff:/var/lib/docker/overlay2/62e2086f08c8c5cdbdc061b80b5aa77eee70ec57e63727c9deb00273ee3613a2/diff:/var/lib/docker/overlay2/c0653c743707ca373e35e8d2bc405113786dec0bd08fe4ce13d1384114e2b0b6/diff:/var/lib/docker/overlay2/8e778b2194138ce21c8810cb6f856937a5acab1cf2c47cdecd0bf81eff576d15/diff:/var/lib/docker/overlay2/5f5ad33720db85729923075729ea97536a524daeabed0dd93e8c5235845a51e7/diff:/var/lib/docker/overlay2/0480ea11cd855a50509488c4ac56ab76eda57293e59fbb636bd1e56de90c44a5/diff:/var/lib/docker/overlay2/92aa0f5d30e0def8967588472a1bd4ecdc24a736e686fdbeaba02658b4839819/diff:/var/lib/docker/overlay2/8875dc20ca9b6f611cdb9eb1374fe946a461e789b709c27c0f35f715d2cef773/diff:/var/lib/docker/overlay2/bca4ac35d28fdcd2051629542af7d90d41409a9ff9126ad336a0ce3cb53b5ece/diff:/var/lib/docker/overlay2/2ae4444fdd26342889961243bd1dab7797f05db3811984fa0891feb032e5c504/diff:/var/lib/docker/overlay2/16fd3862f3b1ea8662702f5043a54669a67189f83a5f76a2510897853b496915/diff:/var/lib/docker/overlay2/ffdb1245606113624ab6f08b70f346d43eda0d6188b17c40714917a4505d7a08/diff:/var/lib/docker/overlay2/659fa1c0da22952d4d01a830d5bcd7135f30bfedfae68ca5364bf6a99263aa3a/diff:/var/lib/docker/overlay2/0dbb168c170bec1a1744428bda27ca61e4905626760d191d72cbe4ba30e404f0/diff:/var/lib/docker/overlay2/948e346e057203d8d83a4f4614e9a586cabaecd4451ee2f02118e91a43030742/diff:/var/lib/docker/overlay2/de671e6d33e49aae58ab695220199c5bf561b3858bbe6d637b6ac4cab5c8f69a/diff",
            "MergedDir": "/var/lib/docker/overlay2/305578e871ac1346b5b6bf854bf028d452e06cf84d17a9056e4a87cbae96eb7a/merged",
            "UpperDir": "/var/lib/docker/overlay2/305578e871ac1346b5b6bf854bf028d452e06cf84d17a9056e4a87cbae96eb7a/diff",
            "WorkDir": "/var/lib/docker/overlay2/305578e871ac1346b5b6bf854bf028d452e06cf84d17a9056e4a87cbae96eb7a/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:4997e388084cfec1ab7e2d07c657a3092bd92447c7c43388865c478e676c3974",
            "sha256:efd7c3ecb98e97db640fd520aef3db3eae934615ca80ec3fdf7bc7fd5bc03423",
            "sha256:1b2cc8a8c956a8cf2c9256583c5f6f101cd1445aa7afd79df29f22bfce13d22a",
            "sha256:2a3a4122b69d3c98acb593ed9c2f60b4dd69ce1b5c0f8509196b9cbbf4a6d1e0",
            "sha256:ceef7539255b1860005c387e6c18244e7dd4534b22b57815911672dedcf39028",
            "sha256:040411db5d27f66201d30ed669badcabeb2d6a8837ac79330dc1b864313dbf3b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-06-05T10:56:39.894885286+08:00"
    }
}

更多版本

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

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

ghcr.io/berriai/litellm:main-stable

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

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

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

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

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

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

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

ghcr.io/berriai/litellm:main-latest

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/amd64 ghcr.io1.92GB2025-11-30 10:23
324
422

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ghcr.io/berriai/litellm:v1.85.1

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

ghcr.io/berriai/litellm:v1.86.2

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

ghcr.io/berriai/litellm:v1.87.0

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

ghcr.io/berriai/litellm:v1.87.1

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