vendor: github.com/docker/model-cli v0.1.41 (#23456)

<!--Delete sections as needed -->

## Description

Update model-cli docs for Docker Model Runner.
See changes in
https://github.com/docker/model-cli/compare/v0.1.40...v0.1.41.

```
VENDOR_MODULE=github.com/docker/model-cli@v0.1.41 make vendor
```

## Related issues or tickets

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

## Reviews

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

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

Signed-off-by: Dorin Geman <dorin.geman@docker.com>
This commit is contained in:
Dorin-Andrei Geman
2025-09-25 16:51:49 +03:00
committed by GitHub
parent 9ab0724d3f
commit 281569a15c
11 changed files with 103 additions and 10 deletions

View File

@@ -15,6 +15,7 @@ cname:
- docker model ps
- docker model pull
- docker model push
- docker model requests
- docker model rm
- docker model run
- docker model status
@@ -32,6 +33,7 @@ clink:
- docker_model_ps.yaml
- docker_model_pull.yaml
- docker_model_push.yaml
- docker_model_requests.yaml
- docker_model_rm.yaml
- docker_model_run.yaml
- docker_model_status.yaml

View File

@@ -8,6 +8,15 @@ usage: docker model package --gguf <path> [--license <path>...] [--context-size
pname: docker model
plink: docker_model.yaml
options:
- option: chat-template
value_type: string
description: absolute path to chat template file (must be Jinja format)
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: context-size
value_type: uint64
default_value: "0"

View File

@@ -0,0 +1,45 @@
command: docker model requests
short: Fetch requests+responses from Docker Model Runner
long: Fetch requests+responses from Docker Model Runner
usage: docker model requests [OPTIONS]
pname: docker model
plink: docker_model.yaml
options:
- option: follow
shorthand: f
value_type: bool
default_value: "false"
description: Follow requests stream
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: include-existing
value_type: bool
default_value: "false"
description: |
Include existing requests when starting to follow (only available with --follow)
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: model
value_type: string
description: Specify the model to filter requests
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false

View File

@@ -19,6 +19,16 @@ options:
experimentalcli: false
kubernetes: false
swarm: false
- option: color
value_type: string
default_value: auto
description: Use colored output (auto|yes|no)
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: debug
value_type: bool
default_value: "false"

View File

@@ -16,6 +16,7 @@ Docker Model Runner
| [`ps`](model_ps.md) | List running models |
| [`pull`](model_pull.md) | Pull a model from Docker Hub or HuggingFace to your local environment |
| [`push`](model_push.md) | Push a model to Docker Hub |
| [`requests`](model_requests.md) | Fetch requests+responses from Docker Model Runner |
| [`rm`](model_rm.md) | Remove local models downloaded from Docker Hub |
| [`run`](model_run.md) | Run a model and interact with it using a submitted prompt or chat mode |
| [`status`](model_status.md) | Check if the Docker Model Runner is running |

View File

@@ -8,6 +8,7 @@ When packaging a sharded model --gguf should point to the first shard. All shard
| Name | Type | Default | Description |
|:------------------|:--------------|:--------|:---------------------------------------------------------------------------------------|
| `--chat-template` | `string` | | absolute path to chat template file (must be Jinja format) |
| `--context-size` | `uint64` | `0` | context size in tokens |
| `--gguf` | `string` | | absolute path to gguf file (required) |
| `-l`, `--license` | `stringArray` | | absolute path to a license file |

View File

@@ -0,0 +1,16 @@
# docker model requests
<!---MARKER_GEN_START-->
Fetch requests+responses from Docker Model Runner
### Options
| Name | Type | Default | Description |
|:---------------------|:---------|:--------|:---------------------------------------------------------------------------------|
| `-f`, `--follow` | `bool` | | Follow requests stream |
| `--include-existing` | `bool` | | Include existing requests when starting to follow (only available with --follow) |
| `--model` | `string` | | Specify the model to filter requests |
<!---MARKER_GEN_END-->

View File

@@ -5,10 +5,11 @@ Run a model and interact with it using a submitted prompt or chat mode
### Options
| Name | Type | Default | Description |
|:--------------------------------|:-------|:--------|:----------------------------------------------------------------------------------|
| `--debug` | `bool` | | Enable debug logging |
| `--ignore-runtime-memory-check` | `bool` | | Do not block pull if estimated runtime memory for model exceeds system resources. |
| Name | Type | Default | Description |
|:--------------------------------|:---------|:--------|:----------------------------------------------------------------------------------|
| `--color` | `string` | `auto` | Use colored output (auto\|yes\|no) |
| `--debug` | `bool` | | Enable debug logging |
| `--ignore-runtime-memory-check` | `bool` | | Do not block pull if estimated runtime memory for model exceeds system resources. |
<!---MARKER_GEN_END-->

View File

@@ -3,6 +3,6 @@
# github.com/docker/buildx v0.28.0
# github.com/docker/cli v28.4.0+incompatible
# github.com/docker/compose/v2 v2.39.4
# github.com/docker/model-cli v0.1.40
# github.com/docker/model-cli v0.1.41
# github.com/docker/mcp-gateway v0.13.1-0.20250730013131-e08a3be84765
# github.com/docker/scout-cli v1.18.1

10
go.mod
View File

@@ -24,9 +24,9 @@ require (
github.com/docker/go-connections v0.6.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/docker/mcp-gateway v0.13.1-0.20250730013131-e08a3be84765 // indirect
github.com/docker/model-cli v0.1.40 // indirect
github.com/docker/model-distribution v0.0.0-20250822172258-8fe9daa4a4da // indirect
github.com/docker/model-runner v0.0.0-20250822173738-5341c9fc2974 // indirect
github.com/docker/model-cli v0.1.41 // indirect
github.com/docker/model-distribution v0.0.0-20250918153037-7d9fc7b72b57 // indirect
github.com/docker/model-runner v0.0.0-20250911130340-38bb0171c947 // indirect
github.com/docker/scout-cli v1.18.1 // indirect
github.com/elastic/go-sysinfo v1.15.3 // indirect
github.com/elastic/go-windows v1.0.2 // indirect
@@ -40,7 +40,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/go-containerregistry v0.20.6 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gpustack/gguf-parser-go v0.14.1 // indirect
github.com/gpustack/gguf-parser-go v0.22.1 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
github.com/henvic/httpretty v0.1.4 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
@@ -112,7 +112,7 @@ replace (
github.com/docker/buildx => github.com/docker/buildx v0.28.0
github.com/docker/cli => github.com/docker/cli v28.3.3+incompatible
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.39.4
github.com/docker/model-cli => github.com/docker/model-cli v0.1.40
github.com/docker/model-cli => github.com/docker/model-cli v0.1.41
github.com/docker/scout-cli => github.com/docker/scout-cli v1.18.1
github.com/moby/buildkit => github.com/moby/buildkit v0.24.0
github.com/moby/moby => github.com/moby/moby v28.3.3+incompatible

8
go.sum
View File

@@ -110,6 +110,8 @@ github.com/docker/model-cli v0.1.39 h1:9W2HEj46QtZ4+WeEtmDlYlJKspcLwaTzzeBQZKGWs
github.com/docker/model-cli v0.1.39/go.mod h1:vn3xvo4zqZVHbon38lZbaEc12JshwBRzzLbK6w1q8Yg=
github.com/docker/model-cli v0.1.40 h1:Ar9KLp7B08w3Gz71jFQaOiyZGQ+yr3XBtWTcbm0jgh4=
github.com/docker/model-cli v0.1.40/go.mod h1:vn3xvo4zqZVHbon38lZbaEc12JshwBRzzLbK6w1q8Yg=
github.com/docker/model-cli v0.1.41 h1:H1GK9ESxYAFsx2I6xoIwipasGuffQ7vKT9wIFyIVv28=
github.com/docker/model-cli v0.1.41/go.mod h1:Mam12elFiRQGvxNDgqZVXPsUbfBB67FApk91z3H+jfc=
github.com/docker/model-cli v1.0.2-0.20250812105011-ebb4723662c6 h1:f4iOd3leasQe8Ak0BIssJvy6URQU1QpdyvvrEMVd/to=
github.com/docker/model-cli v1.0.2-0.20250812105011-ebb4723662c6/go.mod h1:buRKbEmodiWCC9hApXghZZIWa9kdDpSLzwlx04DmtKs=
github.com/docker/model-distribution v0.0.0-20250512190053-b3792c042d57 h1:ZqfKknb+0/uJid8XLFwSl/osjE+WuS6o6I3dh3ZqO4U=
@@ -120,6 +122,8 @@ github.com/docker/model-distribution v0.0.0-20250724114133-a11d745e582c h1:w9Mek
github.com/docker/model-distribution v0.0.0-20250724114133-a11d745e582c/go.mod h1:dThpO9JoG5Px3i+rTluAeZcqLGw8C0qepuEL4gL2o/c=
github.com/docker/model-distribution v0.0.0-20250822172258-8fe9daa4a4da h1:ml99WBfcLnsy1frXQR4X+5WAC0DoGtwZyGoU/xBsDQM=
github.com/docker/model-distribution v0.0.0-20250822172258-8fe9daa4a4da/go.mod h1:dThpO9JoG5Px3i+rTluAeZcqLGw8C0qepuEL4gL2o/c=
github.com/docker/model-distribution v0.0.0-20250918153037-7d9fc7b72b57 h1:WHiPO9UmO5v97T3ksQUA2SbYVkTdUCSFobznegL97kk=
github.com/docker/model-distribution v0.0.0-20250918153037-7d9fc7b72b57/go.mod h1:bV1RH2e79nTwOW38GoMU9UO8gpZVLH9+cZeEeR4wSeE=
github.com/docker/model-runner v0.0.0-20250512190413-96af7b750f88 h1:NkiizYL67HsCnnlEU6BQVoeiC1bAAyJFxw02bO7JC4E=
github.com/docker/model-runner v0.0.0-20250512190413-96af7b750f88/go.mod h1:Nw+rx6RRPNdProEb9/BVJyAQn63px6WWlOv+eEpkV7Q=
github.com/docker/model-runner v0.0.0-20250627142917-26a0a73fbbc0 h1:yajuhlGe1xhpWW3eMehQi2RrqiBQiGoi6c6OWiPxMaQ=
@@ -128,6 +132,8 @@ github.com/docker/model-runner v0.0.0-20250724122432-ecfa5e7e6807 h1:02vImD8wqUD
github.com/docker/model-runner v0.0.0-20250724122432-ecfa5e7e6807/go.mod h1:rCzRjRXJ42E8JVIA69E9hErJVV5mnUpWdJ2POsktfRs=
github.com/docker/model-runner v0.0.0-20250822173738-5341c9fc2974 h1:/uF17tBEtsE6T2Xgg4cgrrqNcQ02gY5Lp98je+2K0nQ=
github.com/docker/model-runner v0.0.0-20250822173738-5341c9fc2974/go.mod h1:1Q2QRB5vob542x6P5pQXlGTYs5bYPxNG6ePcjTndA0A=
github.com/docker/model-runner v0.0.0-20250911130340-38bb0171c947 h1:6Dz1SFZONEd8tlKetn2Gu6v5HDJI/YtUFwkqHGwrsV0=
github.com/docker/model-runner v0.0.0-20250911130340-38bb0171c947/go.mod h1:cl7panafjkSHllYCCGYAzty2aUvbwk55Gi35v06XL80=
github.com/docker/scout-cli v1.15.0 h1:VhA9niVftEyZ9f5KGwKnrSfQOp2X3uIU3VbE/gTVMTM=
github.com/docker/scout-cli v1.15.0/go.mod h1:Eo1RyCJsx3ldz/YTY5yGxu9g9mwTYbRUutxQUkow3Fc=
github.com/docker/scout-cli v1.18.1 h1:snFodhV6xFJryxdUZ0ukPZFZZFnWAGLUuuPZGB3BOK8=
@@ -168,6 +174,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gpustack/gguf-parser-go v0.14.1 h1:tmz2eTnSEFfE52V10FESqo9oAUquZ6JKQFntWC/wrEg=
github.com/gpustack/gguf-parser-go v0.14.1/go.mod h1:GvHh1Kvvq5ojCOsJ5UpwiJJmIjFw3Qk5cW7R+CZ3IJo=
github.com/gpustack/gguf-parser-go v0.22.1 h1:FRnEDWqT0Rcplr/R9ctCRSN2+3DhVsf6dnR5/i9JA4E=
github.com/gpustack/gguf-parser-go v0.22.1/go.mod h1:y4TwTtDqFWTK+xvprOjRUh+dowgU2TKCX37vRKvGiZ0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1 h1:e9Rjr40Z98/clHv5Yg79Is0NtosR5LXRvdr7o/6NwbA=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.1/go.mod h1:tIxuGz/9mpox++sgp9fJjHO0+q1X9/UOWd798aAm22M=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 h1:5ZPtiqj0JL5oKWmcsq4VMaAW5ukBEgSGXEN89zeH1Jo=