Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit 15d0078

Browse files
authored
Merge pull request #69 from ArthurFlag/update-dmr-docs
docs: update dmr cmds
2 parents fd19a60 + 74bdf97 commit 15d0078

31 files changed

Lines changed: 188 additions & 59 deletions

commands/install-runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func newInstallRunner() *cobra.Command {
113113
var gpuMode string
114114
c := &cobra.Command{
115115
Use: "install-runner",
116-
Short: "Install Docker Model Runner",
116+
Short: "Install Docker Model Runner (Docker Engine only)",
117117
RunE: func(cmd *cobra.Command, args []string) error {
118118
// Ensure that we're running in a supported model runner context.
119119
engineKind := modelRunner.EngineKind()

commands/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func newListCmd() *cobra.Command {
1919
c := &cobra.Command{
2020
Use: "list [OPTIONS]",
2121
Aliases: []string{"ls"},
22-
Short: "List the available models that can be run with the Docker Model Runner",
22+
Short: "List the models pulled to your local environment",
2323
RunE: func(cmd *cobra.Command, args []string) error {
2424
if openai && quiet {
2525
return fmt.Errorf("--quiet flag cannot be used with --openai flag")

commands/logs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ func newLogsCmd() *cobra.Command {
142142
},
143143
ValidArgsFunction: completion.NoComplete,
144144
}
145-
c.Flags().BoolVarP(&follow, "follow", "f", false, "Follow log output")
146-
c.Flags().BoolVar(&noEngines, "no-engines", false, "Skip inference engines logs")
145+
c.Flags().BoolVarP(&follow, "follow", "f", false, "View logs with real-time streaming")
146+
c.Flags().BoolVar(&noEngines, "no-engines", false, "Exclude inference engine logs from the output")
147147
return c
148148
}
149149

commands/package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func newPackagedCmd() *cobra.Command {
1919

2020
c := &cobra.Command{
2121
Use: "package --gguf <path> [--license <path>...] --push TARGET",
22-
Short: "package a model",
22+
Short: "Package a GGUF file into a Docker model OCI artifact, with optional licenses, and pushes it to the specified registry",
2323
Args: func(cmd *cobra.Command, args []string) error {
2424
if len(args) != 1 {
2525
return fmt.Errorf(

commands/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
func newPullCmd() *cobra.Command {
1212
c := &cobra.Command{
1313
Use: "pull MODEL",
14-
Short: "Download a model",
14+
Short: "Pull a model from Docker Hub or HuggingFace to your local environment",
1515
Args: func(cmd *cobra.Command, args []string) error {
1616
if len(args) != 1 {
1717
return fmt.Errorf(

commands/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
func newPushCmd() *cobra.Command {
1212
c := &cobra.Command{
1313
Use: "push MODEL",
14-
Short: "Upload a model",
14+
Short: "Push a model to Docker Hub",
1515
Args: func(cmd *cobra.Command, args []string) error {
1616
if len(args) != 1 {
1717
return fmt.Errorf(

commands/rm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func newRemoveCmd() *cobra.Command {
1212

1313
c := &cobra.Command{
1414
Use: "rm [MODEL...]",
15-
Short: "Remove models downloaded from Docker Hub",
15+
Short: "Remove local models downloaded from Docker Hub",
1616
Args: func(cmd *cobra.Command, args []string) error {
1717
if len(args) < 1 {
1818
return fmt.Errorf(

commands/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func newRunCmd() *cobra.Command {
1818
cmdArgs := "MODEL [PROMPT]"
1919
c := &cobra.Command{
2020
Use: "run " + cmdArgs,
21-
Short: "Run a model with the Docker Model Runner",
21+
Short: "Run a model and interact with it using a submitted prompt or chat mode",
2222
RunE: func(cmd *cobra.Command, args []string) error {
2323
model := args[0]
2424
prompt := ""

desktop/context.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ const (
9898
func (k ModelRunnerEngineKind) String() string {
9999
switch k {
100100
case ModelRunnerEngineKindMoby:
101-
return "Moby"
101+
return "Docker Engine"
102102
case ModelRunnerEngineKindMobyManual:
103-
return "Moby (Manual Install)"
103+
return "Docker Engine (Manual Install)"
104104
case ModelRunnerEngineKindDesktop:
105105
return "Docker Desktop"
106106
case ModelRunnerEngineKindCloud:

docs/reference/docker_model.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
command: docker model
22
short: Docker Model Runner
3-
long: Docker Model Runner
3+
long: |-
4+
Use Docker Model Runner to run and interact with AI models directly from the command line.
5+
For more information, see the [documentation](/model-runner/)
46
pname: docker
57
plink: docker.yaml
68
cname:

0 commit comments

Comments
 (0)