Merge pull request #19138 from Microsoft/jjh/failedtodockerversion
Windows CI: More debugging
diff --git a/hack/make/.integration-daemon-start b/hack/make/.integration-daemon-start
index 8a0937c..ba466b7 100644
--- a/hack/make/.integration-daemon-start
+++ b/hack/make/.integration-daemon-start
@@ -73,6 +73,16 @@
else
echo >&2 "error: daemon at $DOCKER_HOST fails to 'docker version':"
docker version >&2 || true
+ # Additional Windows CI debugging as this is a common error as of
+ # January 2016
+ if [ "$(go env GOOS)" = 'windows' ]; then
+ echo >&2 "Container log below:"
+ echo >&2 "---"
+ # Important - use the docker on the CI host, not the one built locally
+ # which is currently in our path.
+ ! /c/bin/docker -H=$MAIN_DOCKER_HOST logs docker-$COMMITHASH
+ echo >&2 "---"
+ fi
fi
false
fi