DockerCLI/cmd/docker
Sebastiaan van Stijn bce65f0edc
builder: simplify error generation, and rephrase error/warning
With this change:

    echo 'FROM busybox' | DOCKER_BUILDKIT=1 docker build -
    ERROR: BuildKit is enabled but the buildx component is missing or broken.
           Install the buildx component to build images with BuildKit:
           https://docs.docker.com/go/buildx/

    echo 'FROM busybox' | 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/

    Sending build context to Docker daemon  2.048kB
    ...

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-02-03 10:38:05 +01:00
..
winresources Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
aliases.go Set buildx as default builder 2022-02-03 10:38:05 +01:00
builder.go builder: simplify error generation, and rephrase error/warning 2022-02-03 10:38:05 +01:00
builder_test.go Set buildx as default builder 2022-02-03 10:38:05 +01:00
docker.go Set buildx as default builder 2022-02-03 10:38:05 +01:00
docker_test.go config: print deprecation warning when falling back to ~/.dockercfg 2021-03-08 16:13:02 +01:00
docker_windows_386.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
docker_windows_amd64.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
docker_windows_arm.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
docker_windows_arm64.go Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00