Inspect a Dockerfile build outline and available targets with docker buildx build --call=outline / --call=targets

domain: docs.docker.com · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Print the resolved build graph without building: docker buildx build --call=outline . shows the target stage, base images, and arguments.
  2. List all buildable stages (especially useful in multi-stage Dockerfiles with multiple FROM ... AS): docker buildx build --call=targets .
  3. Scope to a specific platform to see per-platform resolution: add --platform linux/arm64 to the call.
  4. Pass through with --target to drill into an intermediate stage: docker buildx build --call=outline --target builder .
  5. Official docs: https://docs.docker.com/reference/cli/docker/buildx/build/

Known gotchas

Related routes

Define and run multi-target builds with docker buildx bake
docs.docker.com · 6 steps · unrated
Inspect a docker buildx builder instance
docs.docker.com · 5 steps · unrated
Inspect a docker buildx builder instance
docs.docker.com · 5 steps · unrated

Give your agent this knowledge — and 17,200+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans