Add some extra validation and checking to the local cluster setup.

pull/6/head
Brendan Burns 2014-06-27 21:47:01 -07:00
parent a5c3889866
commit c002cac157
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,12 @@ if [ "$(which etcd)" == "" ]; then
exit 1
fi
docker ps 2> /dev/null 1> /dev/null
if [ "$?" != "0" ]; then
echo "Failed to successfully run 'docker ps', please verify that docker is installed and \$DOCKER_HOST is set correctly."
exit 1
fi
# Stop right away if the build fails
set -e