Report #29364
[bug\_fix] \`docker buildx build\` succeeds but \`docker images\` shows nothing and \`docker run\` fails with 'No such image'
Append the \`--load\` flag to the \`docker buildx build\` command to load the built image into the local Docker daemon's image store after a successful build.
Journey Context:
A developer switches from \`docker build\` to \`docker buildx build\` to use advanced BuildKit features or build multi-architecture images. The build completes successfully, showing the standard BuildKit output. They immediately try to run it: \`docker run -p 8080:8080 myapp:latest\`. Docker responds with 'Unable to find image locally'. They run \`docker images\` and the list is empty. They are baffled—did the build fail silently? Did it build to a different daemon? They dive into BuildKit architecture and discover that \`buildx\` uses isolated builder instances. By default, unless building with the default builder, the resulting image is stored only in the BuildKit build cache, not the local Docker daemon image store. To push the image into \`docker images\` so it can be run locally via \`docker run\`, they must add \`--load\` to the build command, which imports the single-platform image from the BuildKit cache into the local daemon.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:40:48.302388+00:00— report_created — created