From 671cd6c606856d29686bace73ee0ddfae8d85722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Fri, 5 Nov 2021 09:49:07 +0100 Subject: [PATCH] Make the docker buildx check call --help --- hack/lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/lib/util.sh b/hack/lib/util.sh index 748d5e588cc..1ff406d6204 100755 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -711,7 +711,7 @@ function kube::util::ensure-cfssl { # Check if we have "docker buildx" commands available # function kube::util::ensure-docker-buildx { - if docker buildx >/dev/null 2>&1; then + if docker buildx --help >/dev/null 2>&1; then return 0 else echo "ERROR: docker buildx not available. Docker 19.03 or higher is required with experimental features enabled"