Skip to content

Commit

Permalink
Dump docker related data for buildx debug (#1228)
Browse files Browse the repository at this point in the history
Signed-off-by: Prajyot-Parab <[email protected]>
  • Loading branch information
Prajyot-Parab authored May 15, 2023
1 parent 0bbe9ec commit 163ff46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hack/init-buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 163ff46

Please sign in to comment.