ghcr.io/ggml-org/llama.cpp:full linux/amd64

ghcr.io/ggml-org/llama.cpp:full - 国内下载镜像源 浏览次数:68
```html

这是一个包含llama.cpp项目的Docker容器镜像。llama.cpp是一个开源项目,允许在CPU和GPU上运行大型语言模型 (LLMs),例如 LLaMA。

```
源镜像 ghcr.io/ggml-org/llama.cpp:full
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full
镜像ID sha256:6459cb28992032bf0958de5554cce8d6e5045465c059f5a5a797195d31175d5a
镜像TAG full
大小 1.96GB
镜像源 ghcr.io
CMD
启动入口 /app/tools.sh
工作目录 /app
OS/平台 linux/amd64
浏览量 68 次
贡献者
镜像创建 2025-03-14T04:23:38.773360825Z
同步时间 2025-03-17 14:48
更新时间 2025-04-04 05:18
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full  ghcr.io/ggml-org/llama.cpp:full

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full  ghcr.io/ggml-org/llama.cpp:full

Shell快速替换命令

sed -i 's#ghcr.io/ggml-org/llama.cpp:full#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full  ghcr.io/ggml-org/llama.cpp:full'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full  ghcr.io/ggml-org/llama.cpp:full'

镜像构建历史


# 2025-03-14 12:23:38  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/app/tools.sh"]
                        
# 2025-03-14 12:23:38  1.80GB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update     && apt-get install -y     git     python3     python3-pip     && pip install --upgrade pip setuptools wheel     && pip install -r requirements.txt     && apt autoremove -y     && apt clean -y     && rm -rf /tmp/* /var/tmp/*     && find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete     && find /var/cache -type f -delete # buildkit
                        
# 2025-03-14 12:22:00  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2025-03-14 12:22:00  69.54MB 复制新文件或目录到容器中
COPY /app/full /app # buildkit
                        
# 2025-03-14 12:22:00  6.31MB 复制新文件或目录到容器中
COPY /app/lib/ /app # buildkit
                        
# 2025-03-14 12:18:21  6.32MB 执行命令并创建新的镜像层
RUN /bin/sh -c apt-get update     && apt-get install -y libgomp1 curl    && apt autoremove -y     && apt clean -y     && rm -rf /tmp/* /var/tmp/*     && find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete     && find /var/cache -type f -delete # buildkit
                        
# 2025-01-26 13:31:11  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-01-26 13:31:10  77.86MB 
/bin/sh -c #(nop) ADD file:1b6c8c9518be42fa2afe5e241ca31677fce58d27cdfa88baa91a65a259be3637 in / 
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-01-26 13:31:07  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:6459cb28992032bf0958de5554cce8d6e5045465c059f5a5a797195d31175d5a",
    "RepoTags": [
        "ghcr.io/ggml-org/llama.cpp:full",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp:full"
    ],
    "RepoDigests": [
        "ghcr.io/ggml-org/llama.cpp@sha256:aca28a079788f5a4898d119f16b607a1ce969e0e910235f02dba5d0eda4fc8b3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/ggml-org/llama.cpp@sha256:166ced8dff36e75ccc5118a9d06814e128684e106aa5b63cc365544b63fa528a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-03-14T04:23:38.773360825Z",
    "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"
        ],
        "Cmd": null,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": [
            "/app/tools.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1957853456,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/cb89ae64d58f0505556af99d19bb715faec5edefab2be5647ef878786ecea382/diff:/var/lib/docker/overlay2/f0bf5a0a0ce1e959721b5c6fa6742ce630e902ad1c522ff520ca26636a43ec6f/diff:/var/lib/docker/overlay2/295dc1035e5d7ea8882d9ed412685f2bf6c89ca1a2c5b4264ce17a2a70de12ed/diff:/var/lib/docker/overlay2/a117a42fb3e15c3b1080f00ba48a7de1fccac4854c73e26bbb77edb92ac3bbaf/diff:/var/lib/docker/overlay2/ace3f972cf88bd330727fa9a25fd0df2c3fec1df161ac9102bf9f5739b40b82c/diff",
            "MergedDir": "/var/lib/docker/overlay2/b714d91a04466c7fe5fda6b4312419c3159720bad93d13445ddb03eb1c17ea8a/merged",
            "UpperDir": "/var/lib/docker/overlay2/b714d91a04466c7fe5fda6b4312419c3159720bad93d13445ddb03eb1c17ea8a/diff",
            "WorkDir": "/var/lib/docker/overlay2/b714d91a04466c7fe5fda6b4312419c3159720bad93d13445ddb03eb1c17ea8a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:270a1170e7e398434ff1b31e17e233f7d7b71aa99a40473615860068e86720af",
            "sha256:19f932d3fb640582d011e374e2e1a22010e47ee495d49e57d01c68784495d2c6",
            "sha256:ca1ae162bf5502c72fc866f69d4cd57b8950d2ebac66440bfcc6149351473fb6",
            "sha256:0033dd2b46be5cb9cacb5ce644765bf2681f2934f51d73224bca5a33b9a3718f",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:2cca71ded278b1ed190d956ebe6fb99cc57451df3f3ac43cce368eff712c5a25"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-17T14:46:27.15706323+08:00"
    }
}

更多版本

ghcr.io/ggml-org/llama.cpp:full

linux/amd64 ghcr.io1.96GB2025-03-17 14:48
67

ghcr.io/ggml-org/llama.cpp:full-cuda

linux/amd64 ghcr.io5.05GB2025-03-18 10:58
86