dmr: docker model package (#22663)

<!--Delete sections as needed -->

## Description

Add `docker model package`

<!-- Tell us what you did and why -->

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [X] Technical review
- [X] Editorial review
- [ ] Product review
This commit is contained in:
Arthur 2025-05-19 15:46:10 +02:00 committed by GitHub
parent 91eaa59ab8
commit 6be55cd0d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 11 deletions

View File

@ -15,15 +15,16 @@ Citrix
CloudFront CloudFront
Codefresh Codefresh
Codespaces Codespaces
CouchDB
Couchbase Couchbase
CouchDB
Datadog Datadog
Ddosify Ddosify
Debootstrap Debootstrap
Dev Dev
Dex
Dev Environments? Dev Environments?
Dex
Django Django
DMR
Docker Build Cloud Docker Build Cloud
Docker Business Docker Business
Docker Dasboard Docker Dasboard
@ -33,8 +34,8 @@ Docker Extension
Docker Hub Docker Hub
Docker Scout Docker Scout
Docker Team Docker Team
Docker's
Docker-Sponsored Open Source Docker-Sponsored Open Source
Docker's
Dockerfile Dockerfile
Dockerize Dockerize
Dockerizing Dockerizing
@ -44,26 +45,27 @@ Fargate
Fedora Fedora
Flink Flink
GeoNetwork GeoNetwork
GGUF
Git Git
GitHub( Actions)? GitHub( Actions)?
Google Google
Grafana Grafana
Gravatar Gravatar
HyperKit HyperKit
IPv[46]
IPvlan
Intel Intel
Intune Intune
JFrog IPv[46]
IPvlan
Jamf Jamf
JetBrains JetBrains
JFrog
JUnit JUnit
Kerberos Kerberos
Kitematic Kitematic
Kubeadm Kubeadm
Kubernetes Kubernetes
Laravel
Laradock Laradock
Laravel
Linux Linux
LinuxKit LinuxKit
Logstash Logstash
@ -71,27 +73,27 @@ Mac
Mail(chimp|gun) Mail(chimp|gun)
Microsoft Microsoft
MySQL MySQL
NFSv\d
Netplan Netplan
NFSv\d
Nginx Nginx
Nutanix Nutanix
Nuxeo Nuxeo
OAuth OAuth
Okta
Ollama Ollama
OTel OTel
Okta
PKG
Paketo Paketo
PKG
Postgres Postgres
PowerShell PowerShell
Python Python
Ryuk Ryuk
S3 S3
SQLite
Slack Slack
Snyk Snyk
Solr Solr
SonarQube SonarQube
SQLite
Syft Syft
Sysbox Sysbox
Sysdig Sysdig

View File

@ -215,6 +215,18 @@ Output:
Model <model> removed successfully Model <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 ## 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. You can now start building your Generative AI application powered by the Docker Model Runner.