Skip to content

Built-in Tool: Docker

Document ID: TRT-105
File Path: docs/07-tool-runtime/docker.md
Version: 1.0.0
Status: Draft
Owner: AI Platform Team
Last Updated: 2026-06-27


The docker.* built-in tools let agents build and run containers for tasks that need a containerized environment. This is a high-privilege tool, disabled by default and confined to hardened worker pools.


ToolDescription
docker.buildBuild an image from a context
docker.runRun a container, capture output
docker.imagesList images
docker.rmRemove containers/images

// input
{ "image": "node:20", "cmd": ["node","-v"], "timeout_ms": 60000 }
// output
{ "exit_code": 0, "stdout": "v20.x", "stderr": "" }

docker:run | docker:build
net:egress:<registry> (image pull)

Granting Docker effectively grants container execution; it requires a high-trust grant and tenant approval.


  • Not run via the host Docker socket. Container workloads execute on the isolated untrusted worker pool with a strong runtime (gVisor/Kata) (backends, K8s isolation).
  • Image provenance/signatures are verified before run (supply chain).
  • Resource limits and egress allowlists apply as for any tool.
  • Disabled by default; enable per project explicitly (tool enablement).

Side-effecting; never cached. Pin image digests for reproducibility.


Terminal window
wovyr tools enable docker.run --project ci
wovyr tools invoke docker.run --input '{"image":"alpine","cmd":["echo","hi"]}'


VersionDateDescription
1.0.02026-06-27Initial Docker tool spec