---
title: "Docker Model Runner Brings vLLM to macOS with Apple Silicon"
description: "Docker Model Runner now supports vllm-metal, a vLLM plugin that runs MLX-format models on Apple Silicon's Metal GPU behind the same OpenAI- and Anthropic-compatible APIs used on Linux and WSL2."
url: "https://swe.quest/articles/docker-model-runner-brings-vllm-to-macos-with-apple-silicon-53da495f95aff3a5"
canonical: "https://www.docker.com/blog/docker-model-runner-vllm-metal-macos/"
source: "Docker"
published: "2026-02-26"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["inference","llms","hardware","open-source"]
---

# Docker Model Runner Brings vLLM to macOS with Apple Silicon

A post on [Docker](https://swe.quest/sources/docker.md), published 2026-02-26, 6 min read, Announcement. Original: [https://www.docker.com/blog/docker-model-runner-vllm-metal-macos/](https://www.docker.com/blog/docker-model-runner-vllm-metal-macos/)

## Summary

Docker Model Runner now supports vllm-metal, a vLLM plugin that runs MLX-format models on Apple Silicon's Metal GPU behind the same OpenAI- and Anthropic-compatible APIs used on Linux and WSL2. The plugin keeps vLLM's engine, scheduler and API server unchanged. Platform, worker and model-runner layers sit underneath, with MLX doing inference and PyTorch handling Hugging Face loading and weight conversion. Unified memory allows zero-copy tensors, and paged attention plus GQA support make KV cache use more efficient. Because Metal has no container GPU passthrough, the backend runs natively on the host from an extracted Python environment. In a Llama 3.2 1B 4-bit benchmark, llama.cpp was about 1.2x faster than vllm-metal and had steadier throughput. Docker has also donated vllm-metal to the vLLM GitHub organization.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- LLM inference serving basics ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))
- Docker CLI ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))

## Keywords

Docker Model Runner, vLLM, vllm-metal, MLX, Apple Silicon, Metal, llama.cpp, PyTorch

## Related posts

- [Run LLMs Locally with Docker: A Quickstart Guide to Model Runner](https://swe.quest/articles/run-llms-locally-with-docker-a-quickstart-guide-to-model-runner-ccfbbb71db5d1485.md): Docker · 2025-04-04 · Medium · 5 min read · Inference & serving, LLMs, Containers, Developer tools
  Docker Model Runner, in beta with Docker Desktop 4.40 on Apple silicon, pulls LLMs packaged as OCI artifacts and serves them through an OpenAI-compatible API backed by llama.cpp.
- [Behind the scenes: How we designed Docker Model Runner and what’s next](https://swe.quest/articles/behind-the-scenes-how-we-designed-docker-model-runner-and-what-s-next-376205c328b89264.md): Docker · 2025-06-18 · Medium · 16 min read · Inference & serving, Containers, API design, System design, LLMs
  Docker Model Runner runs AI models locally and exposes them to both containers and host processes through Docker-style /models endpoints and OpenAI-compatible /engines/{engine}/v1 endpoints. llama.cpp is the first backend, but the API path leaves room for others like vLLM and MLX.
- [Docker Model Runner on the new NVIDIA DGX Spark: a new paradigm for developing AI locally](https://swe.quest/articles/docker-model-runner-on-the-new-nvidia-dgx-spark-a-new-paradigm-for-developing-f03f09cdcb90d612.md): Docker · 2025-10-14 · Medium · 7 min read · Inference & serving, Containers, LLMs, AI for coding, Hardware
  Docker Model Runner now supports NVIDIA DGX Spark, a compact Grace Blackwell GB10 workstation with 128GB of unified memory, for running large models locally.
- [Using Stable Diffusion with Core ML on Apple Silicon](https://swe.quest/articles/using-stable-diffusion-with-core-ml-on-apple-silicon-ec28c0373922e17b.md): Hugging Face · 2022-12-01 · Medium · 6 min read · Inference & serving, Computer vision, Swift, Python
  Stable Diffusion can run on Apple Silicon via Core ML using Apple's ml-stable-diffusion repo, with pre-converted checkpoints for v1.4, v1.5, v2 base and v2.1 base hosted on the Hugging Face Hub.
- [How to Build, Run, and Package AI Models Locally with Docker Model Runner](https://swe.quest/articles/how-to-build-run-and-package-ai-models-locally-with-docker-model-runner-acbc6d65548e5373.md): Docker · 2025-06-12 · Medium · 6 min read · Inference & serving, LLMs, Containers, Developer tools
  Docker Model Runner, enabled as a beta feature in Docker Desktop 4.40+, pulls GGUF-format LLMs from Docker Hub or Hugging Face and runs them locally via the \`docker model\` CLI or an OpenAI-compatible HTTP endpoint on localhost.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
