mirror of https://github.com/k3s-io/k3s
Add some extra validation and checking to the local cluster setup.
parent
a5c3889866
commit
c002cac157
|
@ -23,6 +23,12 @@ if [ "$(which etcd)" == "" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
# Stop right away if the build fails
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue