Docker buildx "no builder instance" in CI
A buildx command needs an active builder, and none exists. On a fresh runner the buildx builder must be created (or the action that creates it must run) before building.
What this error means
A buildx build or bake fails with ERROR: no builder "..." found or no builder instance, typically right after invoking docker buildx on a clean runner.
docker
ERROR: no builder "builder-abc" found
# or
ERROR: no builder instance is active, please create one with "docker buildx create"Common causes
No builder created on the runner
A fresh runner has only the default builder (or none for advanced features), so a named/multi-platform build has nothing to run on.
Builder created in a different step/shell
A builder set up in one job or shell is not available in another that starts clean.
How to fix it
Create and use a builder
- On Actions, use setup-buildx-action which creates and selects a builder.
- Or create one manually before building.
.github/workflows/build.yml
- uses: docker/setup-buildx-action@v3Bootstrap a builder by hand
- Create a builder and make it current.
Terminal
docker buildx create --name ci-builder --use --bootstrapHow to prevent it
- Add a buildx setup step before any buildx build in CI, so the builder always exists when the build runs.
Related guides
Docker "exec format error" from wrong architecture in CIFix the Docker "exec format error" in CI builds and runs, caused by running an image built for a different CP…
Docker "failed to solve: dockerfile.v0: not found" in CIFix the Docker BuildKit "failed to solve with frontend dockerfile.v0: failed to read dockerfile" error in CI,…
Docker "Cannot connect to the Docker daemon" (dind) in CIFix the Docker "Cannot connect to the Docker daemon ... Is the docker daemon running?" error in CI, common wh…