verification.md
| source_path | checks/verification.md |
|---|---|
| source_sha256 | d8c529d7f2e59e76e92af5a90effef81a5f080c45d1d51c5c5ab8db5c6bacc7d |
| source_url | https://github.com/docker/skills/blob/ce4693b88722334625780ca8e9d54201b2d96f6d/skills/docker-agent-deploy/checks/verification.md |
| supporting_skill_id | 40165 |
| upstream_revision | ce4693b88722334625780ca8e9d54201b2d96f6d |
Verification Runbook for serving, sharing, and evaluating
1. A server binds where and how you intend
docker agent serve mcp ./agent.yaml --http --listen 127.0.0.1:9090 --auth-token throwaway-test-token &
sleep 1
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:9090/ # no token
curl -s -o /dev/null -w "%{http_code}\n" -H "Authorization: Bearer throwaway-test-token" http://127.0.0.1:9090/
Pass: the process reports it is listening on the given address; the request
without the bearer token is rejected (non-2xx, typically 401), and the
request with the correct token succeeds. Fail: it starts on a non-loopback
address without --auth-token/--insecure-no-auth set explicitly, or the
unauthenticated request succeeds — stop it, add/fix authentication, and
restart.
2. A pushed agent round-trips
docker agent share push ./agent.yaml docker.io/<user>/<name>:<tag>
docker agent share pull docker.io/<user>/<name>:<tag> --force
docker agent debug config docker.io/<user>/<name>:<tag>
Pass: the pulled config's resolved form matches the original (including any
instruction_file contents, now inlined). Fail: a resolution error or
missing instruction content — check for instruction_file paths outside the
config directory, which are rejected on push.
3. Evals run and produce a report
docker agent eval ./agent.yaml ./evals
Pass: console summary shows per-eval pass/fail plus Tool Calls / Relevance /
Size / Assertions metrics, and a results/ directory with JSON, .db, and
log files. Fail: "No model is currently available" inside the eval
container — use docker-agent-run for local credential/model troubleshooting,
then check the eval-specific boundary: credentials must be set in the invoking
shell. Dedicated model keys are forwarded automatically; GITHUB_TOKEN/GH_TOKEN
are not — the user passes the one their provider needs from an env file they
create (e.g. --env-from-file YOUR_ENV_FILE).
4. A regression gate actually gates
docker agent eval ./agent.yaml --baseline results/<prior-run>.json --regression-tolerance 0.05
Pass: exit code 0 when quality is within tolerance of the baseline, non-zero
when a previously-passing eval now fails or an aggregate rate drops beyond
tolerance. Fail (gate never fails): confirm the baseline file actually
contains evaluations — a baseline or run with none is rejected, not treated
as passing.
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.