mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #106174 from markusthoemmes/buildx-check
Make the docker buildx check call --help
This commit is contained in:
commit
3ae56ab320
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user