You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add model publishing instructions to the Docker Model Runner docs (#22819)
## Description
- Introduced a new section on publishing models, including tagging and
pushing to Docker Hub.
- Added examples for tagging existing models and packaging GGUF format
models as OCI Artifacts.
- Clarified that the functionality supports any Container Registry
compatible with OCI Artifacts.
---------
Co-authored-by: Allie Sadler <[email protected]>
Co-authored-by: aevesdocker <[email protected]>
Copy file name to clipboardExpand all lines: content/manuals/ai/model-runner/_index.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,36 @@ Use the [`docker model log` command](/reference/cli/docker/).
129
129
{{< /tab >}}
130
130
{{< /tabs >}}
131
131
132
+
## Publish a model
133
+
134
+
> [!NOTE]
135
+
>
136
+
> This works for any Container Registry supporting OCI Artifacts, not only Docker Hub.
137
+
138
+
You can tag existing models with a new name and publish them under a different namespace and repository:
139
+
140
+
```console
141
+
# Tag a pulled model under a new name
142
+
$ docker model tag ai/smollm2 myorg/smollm2
143
+
144
+
# Push it to Docker Hub
145
+
$ docker model push myorg/smollm2
146
+
```
147
+
148
+
For more details, see the [`docker model tag`](/reference/cli/docker/model/tag) and [`docker model push`](/reference/cli/docker/model/push) command documentation.
149
+
150
+
You can also directly package a model file in GGUF format as an OCI Artifact and publish it to Docker Hub.
151
+
152
+
```console
153
+
# Download a model file in GGUF format, e.g. from HuggingFace
0 commit comments