mirror of https://github.com/docker/cli.git
60d62fb729
Before this change, the error would suggest installing buildx: echo "FROM scratch" | DOCKER_BUILDKIT=0 docker build - DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ ... However, this error would also be shown if buildx is actually installed, but disabled through "DOCKER_BUILDKIT=0"; docker buildx version github.com/docker/buildx v0.9.1 ed00243 With this patch, it reports that it's disabled, and how to fix: echo "FROM scratch" | DOCKER_BUILDKIT=0 docker build - DEPRECATED: The legacy builder is deprecated and will be removed in a future release. BuildKit is currently disabled; enabled it by removing the DOCKER_BUILDKIT=0 environment-variable. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
winresources | ||
aliases.go | ||
builder.go | ||
builder_test.go | ||
builder_windows_test.go | ||
completions.go | ||
docker.go | ||
docker_test.go | ||
docker_windows_386.go | ||
docker_windows_amd64.go | ||
docker_windows_arm.go | ||
docker_windows_arm64.go |