Diagnose a Docker image build failure
Classify Docker and BuildKit errors such as missing COPY context, failed RUN commands, unavailable image manifests, apt failures, permissions, network resolution, platform mismatches, disk exhaustion, and cache problems, with focused rebuild commands.
$0.004 USDC POST /v1/docker-error
developer-tools · docker · containers · ci-cd
Use it for
- diagnose Docker build failure
- fix BuildKit error
- explain docker build log
Example input
{
"log": "FAILED tests/test_math.py::test_total - AssertionError: assert 1 == 2",
"step_name": "pytest"
}Example output
{
"success": true,
"issue_type": "copy_source_missing",
"commands": [
"docker build --no-cache --progress=plain ."
]
}Call it
Use an x402 v2 payment-aware client from the quickstart. An unpaid request safely returns the exact payment challenge before any work runs.