From 163ff4666e29e880bc0a448b3bc395beb9489b1d Mon Sep 17 00:00:00 2001 From: Prajyot Parab Date: Tue, 16 May 2023 00:09:07 +0530 Subject: [PATCH] Dump docker related data for buildx debug (#1228) Signed-off-by: Prajyot-Parab --- hack/init-buildx.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hack/init-buildx.sh b/hack/init-buildx.sh index 7d91ee0e4..2a1988f37 100755 --- a/hack/init-buildx.sh +++ b/hack/init-buildx.sh @@ -24,6 +24,12 @@ set -o pipefail export DOCKER_CLI_EXPERIMENTAL=enabled +echo "Dump Docker Info" +docker info + +echo "Docker version" +docker version + if ! docker buildx 2>&1 >/dev/null; then echo "buildx not available. Docker 19.03 or higher is required with experimental features enabled or buildx is not installed." exit 1