Difference between revisions of "BuildKit"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* <code>[[buildkitd]]</code> daemon | * <code>[[buildkitd]]</code> daemon | ||
* <code>[[buildctl]]</code> client | * <code>[[buildctl]]</code> client | ||
+ | |||
+ | To enable using BuildKit: | ||
+ | DOCKER_BUILDKIT=1 [[docker build]] . | ||
== Related terms == | == Related terms == |
Revision as of 09:36, 19 January 2022
BuildKit is a concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit. BuildKit is designed to work well for building for multiple platforms and not only for the architecture and operating system that the user invoking the build happens to run.
Homepage: https://github.com/moby/buildkit
Binaries:
To enable using BuildKit:
DOCKER_BUILDKIT=1 docker build .
Related terms
export DOCKER_BUILDKIT=0 export COMPOSE_DOCKER_CLI_BUILD=0
See also
- Docker Buildx (plugin)
- Moby: BuildKit
Advertising: