Buildx, BuildKit, Drivers, and Build Cloud
Explore Docker's build system components including Buildx and BuildKit to perform fast, secure, and flexible container image builds. Learn how to configure local and remote builders, perform multi-architecture builds, and use Docker Build Cloud for efficient cloud-based builds.
In this lesson we’ll take a quick look at the major components that power builds. Docker’s build system has a client and server architecture:
- Client: Buildx
- Server: BuildKit
The Buildx build client
Buildx is Docker’s latest and greatest build client. It’s implemented as a CLI plugin and supports all the latest features of
We can configure Buildx to talk to multiple BuildKit instances, and we call each instance of BuildKit a builder. Builders can be on your local machine, in your cloud or data center, or in Docker’s Build Cloud.
If we direct Buildx at a local builder, image builds will be done on our local machine. If we point it to a remote builder, such as Docker Build Cloud, builds will be done on remote infrastructure. The figure below shows a Docker environment configured to communicate to a local and a remote builder:
Docker build architecture
In the diagram above, the local builder uses the docker-container ...