Back to Docker

Examples

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

18.09-release716 B
Original Source

Get inspiration from the following agent examples. See more examples in the Docker Agent GitHub repository.

Development team

{{% cagent-example.inline "dev-team.yaml" %}} {{- $example := .Get 0 }} {{- $baseUrl := "https://raw.githubusercontent.com/docker/docker-agent/refs/heads/main/examples" }} {{- $url := fmt.Printf "%s/%s" $baseUrl $example }} {{- with resources.GetRemote $url }} {{ $data := .Content | transform.Unmarshal }}

yaml
{{ .Content }}

{{ end }} {{% /cagent-example.inline %}}

Go developer

{{% cagent-example.inline "gopher.yaml" /%}}

Technical blog writer

{{% cagent-example.inline "blog.yaml" /%}}