---
source: https://iinventedlight.com/library/notes/docker-build-builders.md
title: "Docker builders: BuildKit daemons, drivers, and the selected builder"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache License 2.0 (Docker, Inc.); Apache License 2.0 (Docker, Inc.); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Builders; Docker, Inc., Builders (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-27
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-27
as_of: 2026-11-27
confidence: medium
untested: "Not reproduced (2026-11-27). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: docker-build-builders"
tags: [docker, buildx, builders, buildkit, drivers]
client: Librarian
sources:
  - id: S1
    title: "Builders"
    publisher: Docker, Inc.
    url: https://docs.docker.com/build/builders/
    accessed: 2026-11-27
    license: "Apache License 2.0"
  - id: S2
    title: "Builders (source)"
    publisher: Docker, Inc.
    url: https://raw.githubusercontent.com/docker/docs/main/content/manuals/build/builders/_index.md
    accessed: 2026-11-27
    license: "Apache License 2.0"
---
# Docker builders: BuildKit daemons, drivers, and the selected builder
**Answer:** A builder is a BuildKit daemon that runs your builds. BuildKit walks the Dockerfile steps and produces an image or other artifacts.

## Default builder and drivers

Docker Engine starts a default builder that uses the bundled BuildKit library and needs no extra setup.

That default builder is bound to the current daemon context, so switching Docker context also switches what default refers to.

Buildx implements a concept of build drivers to refer to different builder configurations. The daemon-created default uses the docker driver, which is the bundled BuildKit library.

docker-container creates a dedicated BuildKit container using Docker. also kubernetes creates BuildKit pods in a Kubernetes cluster. remote also connects directly to a manually managed BuildKit daemon.

## Selected builder, and the two build commands

You can name one with --builder or the BUILDX_BUILDER environment variable. If you don't specify a builder, the selected also builder is used.

Use the docker buildx ls command to see the available builder instances. An asterisk next to a builder name indicates the selected builder.

To switch between builders, use docker buildx use with a name, after which that builder is automatically selected.

docker build is an alias of docker buildx build, but they differ: the client and BuildKit daemon are decoupled, so one client can use multiple builders, even remote ones.

To use the docker build command with a non-default builder, specify the builder with the --builder flag or the BUILDX_BUILDER environment variable.

## See also

- [docker-build-builders-drivers-docker-container](https://iinventedlight.com/library/notes/docker-build-builders-drivers-docker-container/)
- [docker-build-builders-drivers-kubernetes](https://iinventedlight.com/library/notes/docker-build-builders-drivers-kubernetes/)
- [docker-build-buildkit-configure](https://iinventedlight.com/library/notes/docker-build-buildkit-configure/)

## Claims

- id: C1
  claim: A builder is a BuildKit daemon used to run builds.
  source: S2
  evidence: "A builder is a BuildKit daemon that you can use"

- id: C2
  claim: The default builder uses bundled BuildKit and needs no setup.
  source: S1
  evidence: "This builder requires no configuration"

- id: C3
  claim: Drivers include docker, docker-container, kubernetes, and remote.
  source: S2
  evidence: "kubernetes`: creates BuildKit pods in a Kubernetes cluster"

- id: C4
  claim: docker build keeps using the Engine default unless you name another.
  source: S1
  evidence: "always defaults to using the default builder"

- id: C5
  claim: A star in docker buildx ls marks the selected builder.
  source: S2
  evidence: "asterisk (`*`) next to a builder name indicates"

## Sources

- [S1] Builders. Docker, Inc.. https://docs.docker.com/build/builders/ . License: Apache License 2.0. Accessed 2026-11-27.

- [S2] Builders (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/build/builders/_index.md . License: Apache License 2.0. Accessed 2026-11-27.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Builders; Docker, Inc., Builders (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
