| name | docker-model-runner |
| description | Skills for using Docker Model Runner to run local LLM inference |
Docker Model Runner
Docker Model Runner (DMR) makes it easy to run AI models locally using Docker. This skill helps you effectively use Docker Model Runner for local LLM inference in your development workflow.
Workflow
When helping users with local LLM inference using Docker Model Runner:
-
Check if Docker Model Runner is available by running docker model version
-
List available models with docker model list to see what's already pulled
-
Search for models on Docker Hub or HuggingFace:
docker model search <query> to find models
- Popular models include:
ai/gemma3, ai/llama3.2, ai/smollm2, ai/qwen3
-
Pull models before running: docker model pull <model>
-
Run models for inference:
- One-time prompt:
docker model run ai/smollm2 "Your prompt here"
- Interactive chat:
docker model run ai/smollm2
- Pre-load model:
docker model run --detach ai/smollm2
-
Use the OpenAI-compatible API for programmatic access:
- Endpoint:
http://localhost:12434/engines/llama.cpp/v1/chat/completions
- This is compatible with OpenAI client libraries
API Usage
Docker Model Runner exposes an OpenAI-compatible REST API: