Skip to content

Commit 0768884

Browse files
committed
dmr: docker model package
1 parent 50bd730 commit 0768884

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/manuals/ai/model-runner.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,18 @@ Output:
215215
Model <model> removed successfully
216216
```
217217

218+
### Package a model
219+
220+
Packages a GGUF file into an OCI artifact, with optional licences, and pushes it to your registry.
221+
222+
```console
223+
$ docker model package \
224+
--gguf ./model.gguf \
225+
--licenses license1.txt \
226+
--licenses license2.txt \
227+
--push registry.example.com/ai/custom-model
228+
```
229+
218230
## Integrate the Docker Model Runner into your software development lifecycle
219231

220232
You can now start building your Generative AI application powered by the Docker Model Runner.

0 commit comments

Comments
 (0)