Skip to content

Commit 6562cf4

Browse files
committed
Fix docs for docker agent share push/pull
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
1 parent 050f15d commit 6562cf4

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

content/manuals/ai/docker-agent/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Agent configurations are packaged as OCI artifacts. Push and pull them like
148148
container images:
149149

150150
```console
151-
$ docker agent push ./debugger.yaml myusername/debugger
152-
$ docker agent pull myusername/debugger
151+
$ docker agent share push ./debugger.yaml myusername/debugger
152+
$ docker agent share pull myusername/debugger
153153
```
154154

155155
Use Docker Hub or any OCI-compatible registry. Pushing creates the repository if

content/manuals/ai/docker-agent/reference/cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ Opens interactive TUI to configure and generate agent YAML.
344344
Pull agent from OCI registry.
345345

346346
```console
347-
$ docker agent pull registry-ref
347+
$ docker agent share pull registry-ref
348348
```
349349

350350
Arguments:
@@ -360,7 +360,7 @@ Flags:
360360
Example:
361361

362362
```console
363-
$ docker agent pull docker.io/user/agent:latest
363+
$ docker agent share pull docker.io/user/agent:latest
364364
```
365365

366366
Saves to local YAML file.
@@ -370,7 +370,7 @@ Saves to local YAML file.
370370
Push agent to OCI registry.
371371

372372
```console
373-
$ docker agent push agent-file registry-ref
373+
$ docker agent share push agent-file registry-ref
374374
```
375375

376376
Arguments:
@@ -381,7 +381,7 @@ Arguments:
381381
Example:
382382

383383
```console
384-
$ docker agent push ./agent.yaml docker.io/myuser/myagent:latest
384+
$ docker agent share push ./agent.yaml docker.io/myuser/myagent:latest
385385
```
386386

387387
### run

content/manuals/ai/docker-agent/sharing-agents.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For other registries, use their authentication method.
2727
Push your agent configuration to a registry:
2828

2929
```console
30-
$ docker agent push ./agent.yml myusername/agent-name
30+
$ docker agent share push ./agent.yml myusername/agent-name
3131
```
3232

3333
Push creates the repository if it doesn't exist yet. Use Docker Hub or
@@ -36,16 +36,16 @@ any OCI-compatible registry.
3636
Tag specific versions:
3737

3838
```console
39-
$ docker agent push ./agent.yml myusername/agent-name:v1.0.0
40-
$ docker agent push ./agent.yml myusername/agent-name:latest
39+
$ docker agent share push ./agent.yml myusername/agent-name:v1.0.0
40+
$ docker agent share push ./agent.yml myusername/agent-name:latest
4141
```
4242

4343
## Using published agents
4444

4545
Pull an agent to inspect it locally:
4646

4747
```console
48-
$ docker agent pull agentcatalog/pirate
48+
$ docker agent share pull agentcatalog/pirate
4949
```
5050

5151
This saves the configuration as a local YAML file.

0 commit comments

Comments
 (0)