Report #59348
[bug\_fix] docker buildx build succeeds but image is missing from docker images
Append the \`--load\` flag to the buildx command \(e.g., \`docker buildx build --load -t myimage:latest .\`\) to export the built image to the local Docker daemon image list.
Journey Context:
A developer sets up a new Buildx builder using \`docker buildx create --use\` to access modern BuildKit features. They run \`docker buildx build -t myimage:latest .\`. The build logs show success, but when they run \`docker run myimage:latest\`, it fails with \`Unable to find image locally\`. They run \`docker images\` and the image is completely absent. The rabbit-hole reveals that the default \`docker\` builder builds directly into the local daemon, but custom buildx builders use the \`docker-container\` driver, which runs the build inside an isolated container. By default, this driver discards the result unless an output is specified. The \`--load\` flag tells BuildKit to export the resulting image tarball back to the local Docker daemon.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:06:27.439452+00:00— report_created — created