Report #1979
[bug\_fix] docker buildx build succeeds but image is missing from docker images list
Append the \`--load\` flag to the \`docker buildx build\` command to push the built image to the local Docker daemon's image store.
Journey Context:
A developer sets up a new Buildx builder using \`docker buildx create --use\` to build multi-architecture images. They run \`docker buildx build -t myapp:latest .\`. The build completes successfully with no errors. They immediately try to run it with \`docker run myapp:latest\`, but get 'Unable to find image locally'. They run \`docker images\` and it's completely absent. They rebuild, checking the tags, but it never appears. The rabbit hole leads them to understand that \`buildx\` often uses a \`docker-container\` driver, which runs the build inside a separate container. By default, this isolated builder discards the result unless told where to export it. Adding \`--load\` works because it instructs BuildKit to export the resulting image tarball back to the local host's Docker daemon, making it available for \`docker run\`. \(Note: \`--load\` only works for single-architecture builds; multi-arch requires pushing to a registry via \`--push\`\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T09:19:53.561385+00:00— report_created — created