docker-agent-deploy.md

Created about 13 hours ago

attributes
source_pathevals/docker-agent-deploy.md
source_sha25694a1ed5ee47f08caa90cb24e6ee95d89152ffcb8c36056c015929599dad46728
source_urlhttps://github.com/docker/skills/blob/ce4693b88722334625780ca8e9d54201b2d96f6d/skills/docker-agent-deploy/evals/docker-agent-deploy.md
supporting_skill_id40165
upstream_revisionce4693b88722334625780ca8e9d54201b2d96f6d

Eval: docker-agent-deploy

Skill under test: skills/docker-agent-deploy/


Prompt 1: Expose an agent to Claude Desktop over MCP

Prompt to agent:

How do I let Claude Desktop use my Docker Agent as a tool?

(AUTOMATED EVAL: You MUST NOT ask questions or request clarification. Proceed immediately with best-practice defaults. Create all necessary files even if the workspace appears empty.)

Expected behaviors

  • Recommends docker agent serve mcp ./agent.yaml (stdio transport, the default for local clients).
  • Only recommends --http + --listen + --auth-token if the user needs a network-reachable endpoint, and pairs --http with an auth flag.
  • Does not suggest binding to a non-loopback address without authentication.

Must not

  • Must NOT recommend --insecure-no-auth as a default or without an explicit warning.

Verification commands

docker agent serve mcp ./agent.yaml

Prompt 2: Publish an agent like an image

Prompt to agent:

How do I publish my agent to Docker Hub so my team can pull and run it?

(AUTOMATED EVAL: You MUST NOT ask questions or request clarification. Proceed immediately with best-practice defaults. Create all necessary files even if the workspace appears empty.)

Expected behaviors

  • Explains how to publish an agent to a registry (via docker agent share push or similar).

Must not

  • Must NOT tell the user to manually zip/bundle referenced instruction files before pushing.

Verification commands

docker agent share push ./agent.yaml docker.io/<user>/<name>:latest
docker agent share pull docker.io/<user>/<name>:latest

Prompt 3: Gate CI on agent quality

Prompt to agent:

I want my CI to fail if a change makes my agent worse, but not flap on tiny score noise.

(AUTOMATED EVAL: You MUST NOT ask questions or request clarification. Proceed immediately with best-practice defaults. Create all necessary files even if the workspace appears empty.)

Expected behaviors

  • Recommends docker agent eval ./agent.yaml --baseline <prior-run.json> --regression-tolerance <n>.
  • Explains that a previously-passing eval that now fails always gates regardless
    of tolerance.

Must not

  • Must NOT suggest gating on absolute score alone without ever establishing a --baseline.

Verification commands

docker agent eval ./agent.yaml ./evals
docker agent eval ./agent.yaml --baseline ./evals/results/<prior-run>.json --regression-tolerance 0.05

Should not trigger

  • "Add a shell tool to my agent" → docker-agent-config
  • "Run my agent with a stricter safety mode" → docker-agent-run
  • "My sandboxed agent can't reach an API" → docker-agent-run

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.