File tree Expand file tree Collapse file tree
content/manuals/ai/docker-agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ Agent configurations are packaged as OCI artifacts. Push and pull them like
148148container 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
155155Use Docker Hub or any OCI-compatible registry. Pushing creates the repository if
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ Opens interactive TUI to configure and generate agent YAML.
344344Pull agent from OCI registry.
345345
346346``` console
347- $ docker agent pull registry-ref
347+ $ docker agent share pull registry-ref
348348```
349349
350350Arguments:
@@ -360,7 +360,7 @@ Flags:
360360Example:
361361
362362``` console
363- $ docker agent pull docker.io/user/agent:latest
363+ $ docker agent share pull docker.io/user/agent:latest
364364```
365365
366366Saves to local YAML file.
@@ -370,7 +370,7 @@ Saves to local YAML file.
370370Push 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
376376Arguments:
@@ -381,7 +381,7 @@ Arguments:
381381Example:
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
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ For other registries, use their authentication method.
2727Push 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
3333Push creates the repository if it doesn't exist yet. Use Docker Hub or
@@ -36,16 +36,16 @@ any OCI-compatible registry.
3636Tag 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
4545Pull an agent to inspect it locally:
4646
4747``` console
48- $ docker agent pull agentcatalog/pirate
48+ $ docker agent share pull agentcatalog/pirate
4949```
5050
5151This saves the configuration as a local YAML file.
You can’t perform that action at this time.
0 commit comments