docker_build
Build a Docker image from a Dockerfile with customizable build arguments, caching, and timeout control for background or synchronous execution.
Instructions
Kali Agent MCP tool: docker_build Explicit execution timing is supported. Before calling, deliberately choose expected_runtime_seconds, timeout_seconds, check_after_seconds, poll_interval_seconds, and on_timeout. Use on_timeout='continue_background' for long work that should return a durable job_id for later job_status/job_logs/job_wait checks; use 'kill' or 'return_partial' for bounded synchronous work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| context | Yes | ||
| no_cache | No | ||
| build_args | No | ||
| dockerfile | No | ||
| on_timeout | No | continue_background | |
| timeout_seconds | No | ||
| check_after_seconds | No | ||
| poll_interval_seconds | No | ||
| expected_runtime_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||