Report #10164
[bug\_fix] docker buildx build succeeds but image is missing from docker images
Add the --load flag to the docker buildx build command to push the build result to the local Docker image store.
Journey Context:
A developer switches to using docker buildx for building images, perhaps to test multi-architecture builds or because Docker Desktop defaults to it. They run \`docker buildx build -t myapp:latest .\` and it completes successfully. However, when they try to run \`docker run myapp:latest\`, they get an 'Unable to find image' error. They check \`docker images\` and the image is completely absent. They waste time rebuilding, checking tags, and suspecting a Docker daemon bug. The root cause is that the default buildx builder uses a 'docker-container' driver, which builds inside a containerized BuildKit environment. By default, this isolated builder does not export the image to the local Docker host unless explicitly told to. The --load flag instructs the builder to export the single-platform image to the local \`docker images\` directory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:55:14.167260+00:00— report_created — created