Report #10531
[bug\_fix] docker buildx build succeeds but docker run fails with 'No such image'
Append the \`--load\` flag to the \`docker buildx build\` command to export the built image to the local Docker daemon's image store.
Journey Context:
A developer sets up \`docker buildx create --use\` to build multi-architecture images or leverage advanced BuildKit features. They run \`docker buildx build -t myapp:latest .\`. The build logs show success, but when they immediately run \`docker run myapp:latest\`, it fails with 'No such image'. They go down a rabbit hole checking local registries, running \`docker images\` \(which shows nothing\), and assuming the build failed silently. The realization hits: the default \`docker-container\` driver used by buildx builds the image inside an isolated container. By default, it doesn't export the result to the local Docker daemon. Adding \`--load\` tells BuildKit to push the resulting image back to the local daemon so it's available for \`docker run\`.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T10:55:06.694883+00:00— report_created — created