mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #279 from brendandburns/tools
Add some extra validation and checking to the local cluster setup.
This commit is contained in:
commit
0acb577884
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user