---
title: "Docker Model Runner on the new NVIDIA DGX Spark: a new paradigm for developing AI locally"
description: "Docker Model Runner now supports NVIDIA DGX Spark, a compact Grace Blackwell GB10 workstation with 128GB of unified memory, for running large models locally."
url: "https://swe.quest/articles/docker-model-runner-on-the-new-nvidia-dgx-spark-a-new-paradigm-for-developing-f03f09cdcb90d612"
canonical: "https://www.docker.com/blog/new-nvidia-dgx-spark-docker-model-runner/"
source: "Docker"
published: "2025-10-14"
difficulty: "medium"
kind: "How-to"
reading_minutes: 7
tags: ["inference","containers","llms","ai-coding","hardware"]
---

# Docker Model Runner on the new NVIDIA DGX Spark: a new paradigm for developing AI locally

A post on [Docker](https://swe.quest/sources/docker.md), published 2025-10-14, 7 min read, How-to. Original: [https://www.docker.com/blog/new-nvidia-dgx-spark-docker-model-runner/](https://www.docker.com/blog/new-nvidia-dgx-spark-docker-model-runner/)

## Summary

Docker Model Runner now supports NVIDIA DGX Spark, a compact Grace Blackwell GB10 workstation with 128GB of unified memory, for running large models locally. Setup means installing the docker-model-plugin on DGX OS's preinstalled Docker Engine and pulling a model such as ai/qwen3-coder, which is exposed through an OpenAI-compatible API on port 12434 with GPUs passed through nvidia-container-runtime. SSH port forwarding lets a laptop use the Spark as a remote model host and view its GPU dashboard, shown with a sample OpenCode configuration that points the coding agent at the local Qwen3-Coder endpoint.

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)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)

## Prerequisites

- Docker CLI basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- SSH port forwarding
- OpenAI-compatible APIs ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))

## Keywords

Docker Model Runner, NVIDIA DGX Spark, Grace Blackwell GB10, nvidia-container-runtime, Qwen3-Coder, OpenCode, DGX OS

## Related posts

- [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.
- [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.
- [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.
- [OpenCode with Docker Model Runner for Private AI Coding](https://swe.quest/articles/opencode-with-docker-model-runner-for-private-ai-coding-640e2f146435d737.md): Docker · 2026-01-15 · Medium · 8 min read · AI for coding, Inference & serving, LLMs, Containers
  OpenCode can use locally hosted models by pointing an @ai-sdk/openai-compatible provider in opencode.json at Docker Model Runner's OpenAI-compatible endpoint (localhost:12434/v1, with TCP enabled on Docker Desktop).
- [How to Make an AI Chatbot from Scratch using Docker Model Runner](https://swe.quest/articles/how-to-make-an-ai-chatbot-from-scratch-using-docker-model-runner-48eab58e2814218f.md): Docker · 2025-06-03 · Medium · 17 min read · Inference & serving, Observability, LLMs, Go, Containers
  A local GenAI chatbot built on Docker Model Runner, which runs llama.cpp models natively on the host and exposes an OpenAI-compatible API to containers.

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)
