verification.md

Created about 12 hours ago

attributes
source_pathchecks/verification.md
source_sha2562c3ffb6a7f927d3ef94f5f29c55c37c4060578605b5c4c97a1806d2b999cfa73
source_urlhttps://github.com/docker/skills/blob/ce4693b88722334625780ca8e9d54201b2d96f6d/skills/docker-agent-run/checks/verification.md
supporting_skill_id40166
upstream_revisionce4693b88722334625780ca8e9d54201b2d96f6d

Verification Runbook for docker agent run

1. Credentials and model are resolvable before running

docker agent doctor ./agent.yaml

Pass: the resolved model/provider is reported reachable with credentials
found. Fail: "No model is currently available" — follow the Troubleshooting
section in this skill's SKILL.md, then rerun this check.

2. The chosen safety mode matches the run context

docker agent run --exec --safety restricted ./agent.yaml "Delete all files in /tmp/scratch"

Use a task that deliberately triggers a non-safe tool call (a destructive
shell command against a throwaway agent/directory is a good probe). Pass
(unattended/CI run): the command exits promptly without hanging on an
approval prompt, and the output reports the destructive call was denied
rather than silently executed. Fail: the run hangs waiting for approval —
the mode is too strict for a headless run — or the destructive command
actually executes — the mode is too permissive; move to balanced/strict.

3. A sandboxed run has the network access it needs

docker agent run --sandbox ./agent.yaml

Pass: the run's printed launch summary shows the allowlisted hosts and no
403 Blocked by network policy errors occur for hosts the agent actually
needs. Fail: a 403 for a specific host — run
docker agent sandbox allow <host> and rerun.

4. An alias resolves to the config and options you expect

docker agent alias list --json

Pass: the alias's path, model, safety, and sandbox/yolo fields
match what you configured. Fail: missing or wrong fields — recreate the
alias with docker agent alias add <name> <path> [flags].

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.