docker.io/localai/localai:latest-aio-cpu linux/amd64

docker.io/localai/localai:latest-aio-cpu - 国内下载镜像源 浏览次数:29

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

LocalAI Docker 镜像

这是一个包含 LocalAI 软件的 Docker 镜像, LocalAI 是一款用于构建、训练和部署机器学习模型的开源平台。

镜像用途

* 在 Docker 容器中快速部署和运行 LocalAI * 方便地进行机器学习项目开发和实验 * 轻松共享和部署机器学习模型

镜像内容

* LocalAI 软件及所有依赖项 * 必要的配置文件和工具 * 示例数据集和模型

使用说明

请参考 LocalAI 官方文档获取详细的使用说明和安装步骤。
源镜像 docker.io/localai/localai:latest-aio-cpu
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu
镜像ID sha256:2ae0889200763205b67212cb33c9364472541594539ac2a4e83679dbd86e5172
镜像TAG latest-aio-cpu
大小 6.42GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD
启动入口 /aio/entrypoint.sh
工作目录 /build
OS/平台 linux/amd64
浏览量 29 次
贡献者
镜像创建 2024-10-21T15:11:29.183857549Z
同步时间 2024-11-08 14:23
更新时间 2024-11-21 16:04
开放端口
8080/tcp
环境变量
PATH=/opt/rocm/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/go/bin:/usr/local/go/bin DEBIAN_FRONTEND=noninteractive EXTERNAL_GRPC_BACKENDS=coqui:/build/backend/python/coqui/run.sh,huggingface-embeddings:/build/backend/python/sentencetransformers/run.sh,transformers:/build/backend/python/transformers/run.sh,sentencetransformers:/build/backend/python/sentencetransformers/run.sh,rerankers:/build/backend/python/rerankers/run.sh,autogptq:/build/backend/python/autogptq/run.sh,bark:/build/backend/python/bark/run.sh,diffusers:/build/backend/python/diffusers/run.sh,openvoice:/build/backend/python/openvoice/run.sh,vall-e-x:/build/backend/python/vall-e-x/run.sh,vllm:/build/backend/python/vllm/run.sh,mamba:/build/backend/python/mamba/run.sh,exllama2:/build/backend/python/exllama2/run.sh,transformers-musicgen:/build/backend/python/transformers-musicgen/run.sh,parler-tts:/build/backend/python/parler-tts/run.sh BUILD_TYPE= REBUILD=false HEALTHCHECK_ENDPOINT=http://localhost:8080/readyz MAKEFLAGS=--jobs=4 --output-sync=target NVIDIA_DRIVER_CAPABILITIES=compute,utility NVIDIA_REQUIRE_CUDA=cuda>=.0 NVIDIA_VISIBLE_DEVICES=all
镜像标签
2024-10-21T12:51:27.193Z: org.opencontainers.image.created :robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. Features: Generate Text, Audio, Video, Images, Voice Cloning, Distributed inference: org.opencontainers.image.description MIT: org.opencontainers.image.licenses ubuntu: org.opencontainers.image.ref.name 015835dba2854572d50e167b7cade05af41ed214: org.opencontainers.image.revision https://github.com/mudler/LocalAI: org.opencontainers.image.source LocalAI: org.opencontainers.image.title https://github.com/mudler/LocalAI: org.opencontainers.image.url v2.22.1-aio-cpu: org.opencontainers.image.version

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu  docker.io/localai/localai:latest-aio-cpu

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu  docker.io/localai/localai:latest-aio-cpu

Shell快速替换命令

sed -i 's#localai/localai:latest-aio-cpu#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu  docker.io/localai/localai:latest-aio-cpu'

镜像历史

大小 创建时间 层信息
0.00B 2024-10-21 23:11:29 ENTRYPOINT ["/aio/entrypoint.sh"]
29.78KB 2024-10-21 23:11:29 COPY aio/ /aio # buildkit
59.81MB 2024-10-21 23:11:29 RUN /bin/bash -c apt-get update && apt-get install -y pciutils && apt-get clean # buildkit
0.00B 2024-10-21 21:10:52 ENTRYPOINT ["/build/entrypoint.sh"]
0.00B 2024-10-21 21:10:52 EXPOSE map[8080/tcp:{}]
0.00B 2024-10-21 21:10:52 VOLUME [/build/models]
0.00B 2024-10-21 21:10:52 HEALTHCHECK &{["CMD-SHELL" "curl -f ${HEALTHCHECK_ENDPOINT} || exit 1"] "1m0s" "10m0s" "0s" "0s" '\n'}
0.00B 2024-10-21 21:10:52 RUN |15 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= FFMPEG=true BUILD_TYPE= TARGETARCH=amd64 IMAGE_TYPE=core EXTRA_BACKENDS= MAKEFLAGS=--jobs=4 --output-sync=target CUDA_MAJOR_VERSION= /bin/bash -c mkdir -p /build/models # buildkit
0.00B 2024-10-21 21:10:52 RUN |15 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= FFMPEG=true BUILD_TYPE= TARGETARCH=amd64 IMAGE_TYPE=core EXTRA_BACKENDS= MAKEFLAGS=--jobs=4 --output-sync=target CUDA_MAJOR_VERSION= /bin/bash -c if [[ ( "${EXTRA_BACKENDS}" =~ "vllm" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/vllm ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "autogptq" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/autogptq ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "bark" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/bark ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "rerankers" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/rerankers ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "mamba" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/mamba ; fi # buildkit
0.00B 2024-10-21 21:10:52 RUN |15 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= FFMPEG=true BUILD_TYPE= TARGETARCH=amd64 IMAGE_TYPE=core EXTRA_BACKENDS= MAKEFLAGS=--jobs=4 --output-sync=target CUDA_MAJOR_VERSION= /bin/bash -c if [[ ( "${EXTRA_BACKENDS}" =~ "vall-e-x" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/vall-e-x ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "openvoice" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/openvoice ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "sentencetransformers" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/sentencetransformers ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "exllama2" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/exllama2 ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "transformers" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/transformers ; fi # buildkit
0.00B 2024-10-21 21:10:52 RUN |15 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= FFMPEG=true BUILD_TYPE= TARGETARCH=amd64 IMAGE_TYPE=core EXTRA_BACKENDS= MAKEFLAGS=--jobs=4 --output-sync=target CUDA_MAJOR_VERSION= /bin/bash -c if [[ ( "${EXTRA_BACKENDS}" =~ "coqui" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/coqui ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "parler-tts" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/parler-tts ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "diffusers" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/diffusers ; fi && if [[ ( "${EXTRA_BACKENDS}" =~ "transformers-musicgen" || -z "${EXTRA_BACKENDS}" ) && "$IMAGE_TYPE" == "extras" ]]; then make -C backend/python/transformers-musicgen ; fi # buildkit
0.00B 2024-10-21 21:10:52 SHELL [/bin/bash -c]
6.83MB 2024-10-21 21:10:52 COPY /build/backend-assets/grpc/stablediffusion ./backend-assets/grpc/stablediffusion # buildkit
34.64MB 2024-10-21 21:10:52 COPY /build/sources/go-piper/piper-phonemize/pi/lib/* /usr/lib/ # buildkit
354.32MB 2024-10-21 21:10:52 COPY /build/local-ai ./ # buildkit
1.45GB 2024-10-21 21:10:50 RUN |15 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= FFMPEG=true BUILD_TYPE= TARGETARCH=amd64 IMAGE_TYPE=core EXTRA_BACKENDS= MAKEFLAGS=--jobs=4 --output-sync=target CUDA_MAJOR_VERSION= /bin/sh -c make prepare-sources # buildkit
1.21GB 2024-10-21 21:10:14 COPY /opt/grpc /usr/local # buildkit
1.54GB 2024-10-21 21:10:08 COPY /build/sources ./sources/ # buildkit
11.89MB 2024-10-21 20:53:46 COPY . . # buildkit
0.00B 2024-10-21 20:53:46 WORKDIR /build
51.25MB 2024-10-21 20:53:46 RUN |15 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= FFMPEG=true BUILD_TYPE= TARGETARCH=amd64 IMAGE_TYPE=core EXTRA_BACKENDS= MAKEFLAGS=--jobs=4 --output-sync=target CUDA_MAJOR_VERSION= /bin/sh -c if [ "${FFMPEG}" = "true" ]; then apt-get update && apt-get install -y --no-install-recommends ffmpeg && apt-get clean && rm -rf /var/lib/apt/lists/* ; fi # buildkit
0.00B 2024-10-21 20:53:37 ENV NVIDIA_VISIBLE_DEVICES=all
0.00B 2024-10-21 20:53:37 ENV NVIDIA_REQUIRE_CUDA=cuda>=.0
0.00B 2024-10-21 20:53:37 ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
0.00B 2024-10-21 20:53:37 ARG CUDA_MAJOR_VERSION=
0.00B 2024-10-21 20:53:37 ENV MAKEFLAGS=--jobs=4 --output-sync=target
0.00B 2024-10-21 20:53:37 ENV HEALTHCHECK_ENDPOINT=http://localhost:8080/readyz
0.00B 2024-10-21 20:53:37 ENV REBUILD=false
0.00B 2024-10-21 20:53:37 ENV BUILD_TYPE=
0.00B 2024-10-21 20:53:37 ARG MAKEFLAGS=--jobs=4 --output-sync=target
0.00B 2024-10-21 20:53:37 ARG EXTRA_BACKENDS
0.00B 2024-10-21 20:53:37 ARG IMAGE_TYPE=core
0.00B 2024-10-21 20:53:37 ARG TARGETARCH=amd64
0.00B 2024-10-21 20:53:37 ARG BUILD_TYPE=
0.00B 2024-10-21 20:53:37 ARG FFMPEG=true
0.00B 2024-10-21 20:53:37 RUN |8 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= /bin/sh -c if [ "${BUILD_TYPE}" = "hipblas" ]; then apt-get update && apt-get install -y --no-install-recommends hipblas-dev rocblas-dev && apt-get clean && rm -rf /var/lib/apt/lists/* && ldconfig ; fi # buildkit
0.00B 2024-10-21 20:53:37 RUN |8 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= /bin/sh -c if [ "${BUILD_TYPE}" = "clblas" ]; then apt-get update && apt-get install -y --no-install-recommends libclblast-dev && apt-get clean && rm -rf /var/lib/apt/lists/* ; fi # buildkit
0.00B 2024-10-21 20:53:37 RUN |8 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= /bin/sh -c <<EOT bash if [ "${BUILD_TYPE}" = "cublas" ]; then apt-get update && \ apt-get install -y --no-install-recommends \ software-properties-common pciutils if [ "amd64" = "$TARGETARCH" ]; then curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb fi if [ "arm64" = "$TARGETARCH" ]; then curl -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb fi dpkg -i cuda-keyring_1.1-1_all.deb && \ rm -f cuda-keyring_1.1-1_all.deb && \ apt-get update && \ apt-get install -y --no-install-recommends \ cuda-nvcc-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} \ libcufft-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} \ libcurand-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} \ libcublas-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} \ libcusparse-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} \ libcusolver-dev-${CUDA_MAJOR_VERSION}-${CUDA_MINOR_VERSION} && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* fi EOT # buildkit
0.00B 2024-10-21 20:53:37 RUN |8 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= BUILD_TYPE= CUDA_MAJOR_VERSION= CUDA_MINOR_VERSION= /bin/sh -c <<EOT bash if [ "${BUILD_TYPE}" = "vulkan" ]; then apt-get update && \ apt-get install -y --no-install-recommends \ software-properties-common pciutils wget gpg-agent && \ wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | apt-key add - && \ wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list https://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list && \ apt-get update && \ apt-get install -y \ vulkan-sdk && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* fi EOT # buildkit
0.00B 2024-10-21 20:53:37 ENV BUILD_TYPE=
0.00B 2024-10-21 20:53:37 ARG CUDA_MINOR_VERSION=
0.00B 2024-10-21 20:53:37 ARG CUDA_MAJOR_VERSION=
0.00B 2024-10-21 20:53:37 ARG BUILD_TYPE=
0.00B 2024-10-21 20:53:37 WORKDIR /build
28.00B 2024-10-21 20:53:37 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2 # buildkit
906.15MB 2024-10-21 20:53:37 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c apt-get update && apt-get install -y --no-install-recommends libopenblas-dev libopencv-dev && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-10-21 20:52:23 ENV PATH=/opt/rocm/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/go/bin:/usr/local/go/bin
0.00B 2024-10-21 20:52:23 ENV PATH=/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/go/bin:/usr/local/go/bin
0.00B 2024-10-21 20:52:23 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c echo "Target Variant: $TARGETVARIANT" # buildkit
0.00B 2024-10-21 20:52:23 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c echo "Target Architecture: $TARGETARCH" # buildkit
0.00B 2024-10-21 20:52:23 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c test -n "$TARGETARCH" || (echo 'warn: missing $TARGETARCH, either set this `ARG` manually, or run using `docker buildkit`') # buildkit
219.34KB 2024-10-21 20:52:22 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c update-ca-certificates # buildkit
0.00B 2024-10-21 20:52:22 COPY --chmod=644 custom-ca-certs/* /usr/local/share/ca-certificates/ # buildkit
136.49MB 2024-10-21 20:52:22 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 && go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af # buildkit
0.00B 2024-10-21 20:52:09 ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/go/bin:/usr/local/go/bin
222.31MB 2024-10-21 20:52:09 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c curl -L -s https://go.dev/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz | tar -C /usr/local -xz # buildkit
68.61MB 2024-10-21 20:52:06 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c <<EOT bash if [ "${CMAKE_FROM_SOURCE}}" = "true" ]; then curl -L -s https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}.tar.gz -o cmake.tar.gz && tar xvf cmake.tar.gz && cd cmake-${CMAKE_VERSION} && ./configure && make && make install else apt-get update && \ apt-get install -y \ cmake && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* fi EOT # buildkit
289.87MB 2024-10-21 20:51:59 RUN |5 GO_VERSION=1.22.6 CMAKE_VERSION=3.26.4 CMAKE_FROM_SOURCE=false TARGETARCH=amd64 TARGETVARIANT= /bin/sh -c apt-get update && apt-get install -y --no-install-recommends build-essential ccache ca-certificates curl libssl-dev git unzip upx-ucl && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-10-21 20:51:59 ENV EXTERNAL_GRPC_BACKENDS=coqui:/build/backend/python/coqui/run.sh,huggingface-embeddings:/build/backend/python/sentencetransformers/run.sh,transformers:/build/backend/python/transformers/run.sh,sentencetransformers:/build/backend/python/sentencetransformers/run.sh,rerankers:/build/backend/python/rerankers/run.sh,autogptq:/build/backend/python/autogptq/run.sh,bark:/build/backend/python/bark/run.sh,diffusers:/build/backend/python/diffusers/run.sh,openvoice:/build/backend/python/openvoice/run.sh,vall-e-x:/build/backend/python/vall-e-x/run.sh,vllm:/build/backend/python/vllm/run.sh,mamba:/build/backend/python/mamba/run.sh,exllama2:/build/backend/python/exllama2/run.sh,transformers-musicgen:/build/backend/python/transformers-musicgen/run.sh,parler-tts:/build/backend/python/parler-tts/run.sh
0.00B 2024-10-21 20:51:59 ENV DEBIAN_FRONTEND=noninteractive
0.00B 2024-10-21 20:51:59 ARG TARGETVARIANT=
0.00B 2024-10-21 20:51:59 ARG TARGETARCH=amd64
0.00B 2024-10-21 20:51:59 ARG CMAKE_FROM_SOURCE=false
0.00B 2024-10-21 20:51:59 ARG CMAKE_VERSION=3.26.4
0.00B 2024-10-21 20:51:59 ARG GO_VERSION=1.22.6
0.00B 2024-10-21 20:51:59 USER root
0.00B 2024-09-12 00:25:18 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-09-12 00:25:17 /bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:2ae0889200763205b67212cb33c9364472541594539ac2a4e83679dbd86e5172",
    "RepoTags": [
        "localai/localai:latest-aio-cpu",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai:latest-aio-cpu"
    ],
    "RepoDigests": [
        "localai/localai@sha256:37451a2d0d59bb7dfda29f686ed91ccddba1d8429e33cae88647909b0876e9c0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/localai/localai@sha256:bb2f8250bab1465d0077abe7e281f933510dfade0ce799320d14b0001b360d24"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-21T15:11:29.183857549Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "root",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "8080/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/opt/rocm/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/go/bin:/usr/local/go/bin",
            "DEBIAN_FRONTEND=noninteractive",
            "EXTERNAL_GRPC_BACKENDS=coqui:/build/backend/python/coqui/run.sh,huggingface-embeddings:/build/backend/python/sentencetransformers/run.sh,transformers:/build/backend/python/transformers/run.sh,sentencetransformers:/build/backend/python/sentencetransformers/run.sh,rerankers:/build/backend/python/rerankers/run.sh,autogptq:/build/backend/python/autogptq/run.sh,bark:/build/backend/python/bark/run.sh,diffusers:/build/backend/python/diffusers/run.sh,openvoice:/build/backend/python/openvoice/run.sh,vall-e-x:/build/backend/python/vall-e-x/run.sh,vllm:/build/backend/python/vllm/run.sh,mamba:/build/backend/python/mamba/run.sh,exllama2:/build/backend/python/exllama2/run.sh,transformers-musicgen:/build/backend/python/transformers-musicgen/run.sh,parler-tts:/build/backend/python/parler-tts/run.sh",
            "BUILD_TYPE=",
            "REBUILD=false",
            "HEALTHCHECK_ENDPOINT=http://localhost:8080/readyz",
            "MAKEFLAGS=--jobs=4 --output-sync=target",
            "NVIDIA_DRIVER_CAPABILITIES=compute,utility",
            "NVIDIA_REQUIRE_CUDA=cuda\u003e=.0",
            "NVIDIA_VISIBLE_DEVICES=all"
        ],
        "Cmd": null,
        "Healthcheck": {
            "Test": [
                "CMD-SHELL",
                "curl -f ${HEALTHCHECK_ENDPOINT} || exit 1"
            ],
            "Interval": 60000000000,
            "Timeout": 600000000000,
            "Retries": 10
        },
        "Image": "",
        "Volumes": {
            "/build/models": {}
        },
        "WorkingDir": "/build",
        "Entrypoint": [
            "/aio/entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2024-10-21T12:51:27.193Z",
            "org.opencontainers.image.description": ":robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI,  running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. Features: Generate Text, Audio, Video, Images, Voice Cloning, Distributed inference",
            "org.opencontainers.image.licenses": "MIT",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.revision": "015835dba2854572d50e167b7cade05af41ed214",
            "org.opencontainers.image.source": "https://github.com/mudler/LocalAI",
            "org.opencontainers.image.title": "LocalAI",
            "org.opencontainers.image.url": "https://github.com/mudler/LocalAI",
            "org.opencontainers.image.version": "v2.22.1-aio-cpu"
        },
        "Shell": [
            "/bin/bash",
            "-c"
        ]
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 6418965962,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/3d6669a6315623c552aac998cee933653bb0c05c6f5199f5221113781b5768a6/diff:/var/lib/docker/overlay2/01847a2794bf797b0fc39d394140f0f54d528d8901fddc3711a3457b98564914/diff:/var/lib/docker/overlay2/419a91626d372f4cf0ab5f23efc916f41cfe972f823f07213d6aa3691b93add7/diff:/var/lib/docker/overlay2/b075012de970ed82b1ca2d5ab8b4e5c8f66a9804a4c2f9c22887f92d6516483c/diff:/var/lib/docker/overlay2/07cba9b52a37b7b6b00c998a51367cc309e6c99e375070ba307cbe158c0057c5/diff:/var/lib/docker/overlay2/7f4382e70c87180f4e021166fcb0e2e90976b34002b86b8dd59fb0e340a13b33/diff:/var/lib/docker/overlay2/88883bded5f239e6f8d78662b93c68252d4643f1874e2af012df2bebdab77a80/diff:/var/lib/docker/overlay2/09a649a7734a5f0b8c22720c3889b55e86e92c493179d5bab6aeb78574ac7745/diff:/var/lib/docker/overlay2/44d7be004e6a8300b5847cce284ba1e7e005441c047b13912e9b56e9351f9735/diff:/var/lib/docker/overlay2/ed315abe9b7325a9b8aac51112bce1d01d323741d060cdf047020d6ee90faa2d/diff:/var/lib/docker/overlay2/9fca54b3cc5aa66897bf7df77858b66beb301ba2524dba17c9e779ba080a2868/diff:/var/lib/docker/overlay2/974d9f81a4380b4f9f06c14e8f08fd5bc2a6d736520379569c235228ccc13bd4/diff:/var/lib/docker/overlay2/ab39828e260759106ed93395675dc68c7f9451cabbd7a3104669f0bcfbe83b58/diff:/var/lib/docker/overlay2/a571e98eb270587732bb615295722267273d6f187d875b14dfe62be258c934fa/diff:/var/lib/docker/overlay2/e82547c702248fedf474208dd96a7553a1f5e9e49b6f7feff5e09bc00a15b98b/diff:/var/lib/docker/overlay2/d057600da4081c231c16a4204abf9933c8240011deca7bcaccea89eb00c4bf15/diff:/var/lib/docker/overlay2/aa5c2ef46575d2a52270cc650351d66ec60558072f8d4a07e5b3f12d47279e7d/diff:/var/lib/docker/overlay2/79775ba8c6579ad1bf2a81f8de301cea1f2910e6098e6e4688756479f27e2524/diff:/var/lib/docker/overlay2/e426cbfcbe4a20c79e7845e99da0714b8d8f2d760b906a9b9b317cf31847e47b/diff:/var/lib/docker/overlay2/ccee068445c6d2a9f5712559c4d0b8037cb5f173a5f9fc66fd716966b98a787a/diff:/var/lib/docker/overlay2/498cdc66bd5bba62d29c72491ff78e98008814e5aed4007d88542f1a57f7a0ae/diff:/var/lib/docker/overlay2/60dad2d756d0610a786634840acbec4fcc28c960f9433c80f96892290e17016a/diff:/var/lib/docker/overlay2/552272bca8fdb2a22cf8a14c774b24d9ce6e451f2494cdcbb578e8687537a1e0/diff:/var/lib/docker/overlay2/aea3322ccc12216083288590379d032d8ebc35c0aaa16a93a5896c8b1dac0b8e/diff:/var/lib/docker/overlay2/25f6b8566efcbadd00ceb56be04e602ffcb795f1731b21fa08464261fdad7fef/diff:/var/lib/docker/overlay2/35ad9f87a2645b4e1899221cd1c0fd64e62e83213364676614dbeca38288b8e9/diff:/var/lib/docker/overlay2/9e72758cf0d3496d74a6c1d8476263dbfb785d7c285956c2f79bc5d36a4bfe28/diff:/var/lib/docker/overlay2/82a79c86bac58b454a7aabf20885a71ec18810696554db62333d93cc95e61183/diff:/var/lib/docker/overlay2/0ee0e1afef4fbed39217a9102a4d69dd8d5715a9a9545c547560beb3a7361723/diff:/var/lib/docker/overlay2/c4e1709da2dcfd1ff8f2d7c47ecc39b28a4003fd8c4400a7a7ac81ffd9a9f608/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/576749bbb9b4a9e548df60d9012bdc907bc8d70db0d6d1de17714f9e531eb5b5/merged",
            "UpperDir": "/var/lib/docker/overlay2/576749bbb9b4a9e548df60d9012bdc907bc8d70db0d6d1de17714f9e531eb5b5/diff",
            "WorkDir": "/var/lib/docker/overlay2/576749bbb9b4a9e548df60d9012bdc907bc8d70db0d6d1de17714f9e531eb5b5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:cb4459ea4752c18ae43ba861f3d3fe241e3f705b661824cd904fbc69660bd272",
            "sha256:04c1f251b635a7e41743c12422ec807b43c6b4a057d8d86d7dd20386df9ea379",
            "sha256:e4414ebfc77d0c63aefdea739bb2b262630614392160212390e604e25e33811f",
            "sha256:c292ae3574f5f3a0a6d61b28957b041580444c09050bdf557a91848c90f656ca",
            "sha256:30c0ef6f4214c9c16e599d7fc699431ce11c444553fa288f0239803e6e5bcc56",
            "sha256:e42039b9780af801cb1f7832d8eb9583897873bda5a9b2ade2a51f1a58564340",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:9c25d4bc1563e4792490d8301d78cba8bacd395c3fb69d5fdd05319db38a7445",
            "sha256:bc419ffccaa3fba801d0a005999021353faa2b60efbc1ab0f3e99e5726c7b5dd",
            "sha256:7ab5f19041892e96a61dfc465576000e87c08425038b81bcf9a0ab0346a39be0",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:18477e599a76689d99f5ef934a85926f1cd8eb8123f3aaf3918e41e88620076b",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:dcb3869ca82b45a5d27a138bb2b0fae2fe28b4900309b2a3fff55f1f78d1f0fa",
            "sha256:1b9c465110bf4bf595e535c55863ca0df4e550bef6103bec5fc1d5f89adee739",
            "sha256:f1ce41fbfaca59b19ba488fc520b7f14a4603151307a5f7c4a32c2d0bf23eebb",
            "sha256:8909f923561e8789e403a73a4e6992a9d583e693c091213a74c5bf3dab1394a1",
            "sha256:f5694eda328dbd74a9ebe06b89e4ebb04458d4a55eb7b88f7e41691f4b3fb26d",
            "sha256:69fdb624eafca0139472f8050ce4708bc95ca28470fcc6dea2efddb008168849",
            "sha256:ee9ec29f751d68ae70f7692c0b569c612731592c3652de106bea771102ec8124",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:78e38b3a11d8d16bbeb11949ecde64dc3d5d73868ab7ca883e1f32588b837f7f",
            "sha256:55a604d553283e2083c15a14e3e82fc0b1fd82e7a76bc9b563a62c5f4bdf2529",
            "sha256:f12d762339c86346b4d231475ff2a6c2285fb37c639b7f5b9706320ccdb5f93e"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-08T14:18:33.362060677+08:00"
    }
}

更多版本

docker.io/localai/localai:latest-aio-cpu

linux/amd64 docker.io6.42GB2024-11-08 14:23
28

docker.io/localai/localai:latest-aio-gpu-nvidia-cuda-12

linux/amd64 docker.io45.94GB2024-11-21 01:51
13