Docker Compose Validator
Lint a docker-compose.yml — parse the YAML, walk the structure, and flag common mistakes.
✓ No issues found.
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/docker-compose-validator/run \
-H "Content-Type: application/json" \
-d '{
"input": "your input here"
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/docker-compose-validator/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_docker_compose_validatorFull reference: developer docs · OpenAPI spec
What this checks
- Valid YAML (via
js-yaml). - Top-level keys against the Compose spec (services / volumes / networks / configs / secrets / version / name / include).
- Each service has at least
imageorbuild. - Restart policies are one of
no | always | on-failure | unless-stopped. - Port mappings parse cleanly and don't clash across services on the host side.
depends_ontargets exist.
You might also like
- Apache / Nginx Log ParserParse Combined Log Format lines into structured rows with status mix, top paths, and per-row filtering.
- User-Agent ParserDecode any User-Agent into browser, OS, device, engine, and CPU fields.
- JSON Formatter & ValidatorPretty-print, minify, and validate JSON.
- Dockerfile StarterMulti-stage Dockerfiles for Node, Python, PHP, Go, Ruby, Rust, Java, and static sites — plus matching .dockerignore.