From f18151f86ca6e97ca8be2beda3b37fedcc75bbf3 Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 3 Jun 2025 11:38:48 +0200 Subject: [PATCH] DMR: plugin install (#22664) ## Description Add DMR Docker Engine plugin install cmd. ## Related issues or tickets ## Reviews - [X] Technical review - [ ] Editorial review - [ ] Product review --------- Co-authored-by: Jacob Howard --- _vale/Docker/Acronyms.yml | 5 +++-- content/manuals/ai/model-runner.md | 33 +++++++++++++++++++++++++++++- data/summary.yaml | 2 +- hugo_stats.json | 3 +++ 4 files changed, 39 insertions(+), 4 deletions(-) diff --git a/_vale/Docker/Acronyms.yml b/_vale/Docker/Acronyms.yml index 1c8282a952..7f0fb04110 100644 --- a/_vale/Docker/Acronyms.yml +++ b/_vale/Docker/Acronyms.yml @@ -38,6 +38,7 @@ exceptions: - DCT - DEBUG - DHCP + - DMR - DNS - DOM - DPI @@ -85,8 +86,8 @@ exceptions: - LTS - MAC - MATE - - MCP - mcp + - MCP - MDM - MDN - MSI @@ -105,8 +106,8 @@ exceptions: - PATH - PDF - PEM - - PID - PHP + - PID - POSIX - POST - QA diff --git a/content/manuals/ai/model-runner.md b/content/manuals/ai/model-runner.md index 7f9a94b186..a9d11ee100 100644 --- a/content/manuals/ai/model-runner.md +++ b/content/manuals/ai/model-runner.md @@ -8,7 +8,7 @@ params: group: AI weight: 20 description: Learn how to use Docker Model Runner to manage and run AI models. -keywords: Docker, ai, model runner, docker deskotp, llm +keywords: Docker, ai, model runner, docker desktop, docker engine, llm aliases: - /desktop/features/model-runner/ - /ai/model-runner/ @@ -45,6 +45,37 @@ Models are pulled from Docker Hub the first time they're used and stored locally You can now use the `docker model` command in the CLI and view and interact with your local models in the **Models** tab in the Docker Desktop Dashboard. +### Enable DMR in Docker Engine + +1. Ensure you have installed [Docker Engine](/engine/install/). +2. DMR is available as a package. To install it, run: + + {{< tabs >}} + {{< tab name="Ubuntu/Debian">}} + + ```console + $ sudo apt-get update + $ sudo apt-get install docker-model-plugin + ``` + + {{< /tab >}} + {{< tab name="RPM-base distributions">}} + + ```console + $ sudo dnf update + $ sudo dnf install docker-model-plugin + ``` + + {{< /tab >}} + {{< /tabs >}} + +3. Test the installation: + + ```console + $ docker model version + $ docker model run ai/smollm2 + ``` + ## Integrate the Docker Model Runner into your software development lifecycle You can now start building your Generative AI application powered by the Docker Model Runner. diff --git a/data/summary.yaml b/data/summary.yaml index 6edf51df83..b6f0c80374 100644 --- a/data/summary.yaml +++ b/data/summary.yaml @@ -152,7 +152,7 @@ Docker GitHub Copilot: availability: Early Access Docker Model Runner: availability: Beta - requires: Docker Desktop 4.40 and later + requires: Docker Engine or Docker Desktop (Windows) 4.41+ or Docker Desktop (MacOS) 4.40+ for: Docker Desktop for Mac with Apple Silicon or Windows with NVIDIA GPUs Docker Projects: availability: Beta diff --git a/hugo_stats.json b/hugo_stats.json index aa5f14ad77..ce7c37f183 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -93,6 +93,7 @@ "RHEL-8", "RHEL-9", "RHEL-CentOS-or-Fedora", + "RPM-base-distributions", "Raw", "React", "Regular-install", @@ -106,6 +107,7 @@ "Specific-version", "Svelte", "Ubuntu", + "Ubuntu/Debian", "Unix-pipe", "Updated-Dockerfile", "Use-Docker-Init", @@ -114,6 +116,7 @@ "Using-the-GUI", "Using-the-MCP-Toolkit-Recommended", "VS-Code", + "Via-Docker-Desktop-Recommended", "Vue", "WSL-2-backend-Arm-Early-Access", "WSL-2-backend-x86_64",