Skip to content

Commit 058847a

Browse files
committed
logs command
1 parent 34f8b55 commit 058847a

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

content/manuals/desktop/features/model-runner.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Hello! How can I assist you today?
123123
#### Interactive chat
124124

125125
```console
126-
docker model run ai/smollm2
126+
$ docker model run ai/smollm2
127127
```
128128

129129
Output:
@@ -140,12 +140,27 @@ Chat session ended.
140140
>
141141
> You can also use chat mode in the Docker Desktop Dashboard when you select the model in the **Models** tab.
142142
143-
### Push a model
143+
### Upload a model to Docker Hub
144+
145+
Use the command below to push your model to Docker Hub:
146+
147+
```console
148+
$ docker model push <namespace>/<model>
149+
```
150+
151+
### View the logs
152+
153+
Fetch logs from the Docker Model Runner to monitor activity, debug issues, or inspect inference behavior.
144154

145155
```console
146-
docker model push <namespace>/<model>
156+
$ docker model logs
147157
```
148158

159+
The following flags are accepted:
160+
161+
- `-f`/`--follow`: View logs with real-time streaming
162+
- `--no-engines`: Exclude inference engine logs from the output
163+
149164
### Remove a model
150165

151166
Removes a downloaded model from your system.

0 commit comments

Comments
 (0)