Report #18030
[bug\_fix] docker buildx build succeeds but image is missing from docker images
Append the \`--load\` flag to the \`docker buildx build\` command to push the built image to the local Docker daemon's image store after the build completes.
Journey Context:
A developer starts using \`docker buildx build -t myapp:latest .\` to build their image. The command completes successfully, showing the final layer and exporting to cache. However, when they run \`docker images\` or \`docker run myapp\`, the image is nowhere to be found, resulting in an 'Unable to find image' error. They go down a rabbit hole checking buildx builders \(\`docker buildx ls\`\), thinking their default builder is broken. They eventually realize they are using a \`docker-container\` driver builder \(the default for buildx\), which performs the build inside a containerized BuildKit instance. The resulting image tarball stays inside that builder container's filesystem and isn't automatically loaded into the local Docker daemon. Adding \`--load\` tells buildx to export the image from the builder container and load it into the local daemon, making it available for \`docker run\`.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:58:48.709743+00:00— report_created — created