LocalAI Docker Image
LocalAI是免费开源的OpenAI替代方案
https://github.com/go-skynet/LocalAI/fork https://github.com/go-skynet/LocalAI/stargazers https://github.com/go-skynet/LocalAI/pulls https://github.com/go-skynet/LocalAI/releases
https://hub.docker.com/r/localai/localai https://quay.io/repository/go-skynet/local-ai?tab=tags&tag=latest
:bulb: Get help - ❓FAQ https://github.com/go-skynet/LocalAI/discussions :speech_balloon: *** :book: Documentation website
💻 Quickstart 🖼️ Models https://github.com/mudler/LocalAI/issues?q=is%3Aissue+is%3Aopen+label%3Aroadmap 🥽 Demo 🌍 Explorer https://github.com/mudler/LocalAI-examples
LocalAI is the free, Open Source OpenAI alternative. LocalAI act as a drop-in replacement REST API that's compatible with OpenAI (Elevenlabs, Anthropic... ) API specifications for local AI inferencing. It allows you to run LLMs, generate images, audio (and not only) locally or on-prem with consumer grade hardware, supporting multiple model families. Does not require GPU. It is created and maintained by https://github.com/mudler.
📚🆕 Local Stack Family
🆕 LocalAI is now part of a comprehensive suite of AI tools designed to work together:
| https://github.com/mudler/LocalAGI |
| https://github.com/mudler/LocalRecall |
Screenshots
| Talk Interface | Generate Audio |
|---|---|
| Models Overview | Generate Images |
|---|---|
| Chat Interface | Home |
|---|---|
| Login | Swarm |
|---|---|
💻 Quickstart
Run the installer script:
bashcurl https://localai.io/install.sh | sh
Or run with docker:
CPU only image:
bashdocker run -ti --name local-ai -p 8080:8080 localai/localai:latest-cpu
Nvidia GPU:
bashdocker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12
CPU and GPU image (bigger size):
bashdocker run -ti --name local-ai -p 8080:8080 localai/localai:latest
AIO images (it will pre-download a set of models ready for use, see [***]
bashdocker run -ti --name local-ai -p 8080:8080 localai/localai:latest-aio-cpu
To load models:
bash# From the model gallery (see available models with `local-ai models list`, in the WebUI from the model tab, or visiting https://models.localai.io) local-ai run llama-3.2-1b-instruct:q4_k_m # Start LocalAI with the phi-2 model directly from huggingface local-ai run huggingface://TheBloke/phi-2-GGUF/phi-2.Q8_0.gguf # Install and run a model from the Ollama OCI registry local-ai run ollama://gemma:2b # Run a model from a configuration file local-ai run https://gist.githubusercontent.com/.../phi-2.yaml # Install and run a model from a standard OCI registry (e.g., Docker Hub) local-ai run oci://localai/phi-2:latest
For more information, see 💻 Getting started
localai 命名空间的其他可用镜像:
更多相关 Docker 镜像与资源
以下是 localai/localai 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
localai/localai Related Documentation
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务
