From 6be55cd0d6a7c152450f04a3fd92bbcfa0226100 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 19 May 2025 15:46:10 +0200 Subject: [PATCH] dmr: docker model package (#22663) ## Description Add `docker model package` ## Related issues or tickets ## Reviews - [X] Technical review - [X] Editorial review - [ ] Product review --- _vale/config/vocabularies/Docker/accept.txt | 24 +++++++++++---------- content/manuals/ai/model-runner.md | 12 +++++++++++ 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/_vale/config/vocabularies/Docker/accept.txt b/_vale/config/vocabularies/Docker/accept.txt index 3ee7f04c42..906fa3bb70 100644 --- a/_vale/config/vocabularies/Docker/accept.txt +++ b/_vale/config/vocabularies/Docker/accept.txt @@ -15,15 +15,16 @@ Citrix CloudFront Codefresh Codespaces -CouchDB Couchbase +CouchDB Datadog Ddosify Debootstrap Dev -Dex Dev Environments? +Dex Django +DMR Docker Build Cloud Docker Business Docker Dasboard @@ -33,8 +34,8 @@ Docker Extension Docker Hub Docker Scout Docker Team -Docker's Docker-Sponsored Open Source +Docker's Dockerfile Dockerize Dockerizing @@ -44,26 +45,27 @@ Fargate Fedora Flink GeoNetwork +GGUF Git GitHub( Actions)? Google Grafana Gravatar HyperKit -IPv[46] -IPvlan Intel Intune -JFrog +IPv[46] +IPvlan Jamf JetBrains +JFrog JUnit Kerberos Kitematic Kubeadm Kubernetes -Laravel Laradock +Laravel Linux LinuxKit Logstash @@ -71,27 +73,27 @@ Mac Mail(chimp|gun) Microsoft MySQL -NFSv\d Netplan +NFSv\d Nginx Nutanix Nuxeo OAuth +Okta Ollama OTel -Okta -PKG Paketo +PKG Postgres PowerShell Python Ryuk S3 -SQLite Slack Snyk Solr SonarQube +SQLite Syft Sysbox Sysdig diff --git a/content/manuals/ai/model-runner.md b/content/manuals/ai/model-runner.md index 4f7af95db1..680c87fec5 100644 --- a/content/manuals/ai/model-runner.md +++ b/content/manuals/ai/model-runner.md @@ -215,6 +215,18 @@ Output: Model removed successfully ``` +### Package a model + +Packages a GGUF file into a Docker model OCI artifact, with optional licenses, and pushes it to the specified registry. + +```console +$ docker model package \ + --gguf ./model.gguf \ + --licenses license1.txt \ + --licenses license2.txt \ + --push registry.example.com/ai/custom-model +``` + ## 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.