metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickal...@apache.org
Subject metron git commit: METRON-1328 Enhance platform-info.sh script to check if docker daemon is running (anandsubbu via nickwallen) closes apache/metron#846
Date Tue, 28 Nov 2017 17:59:30 GMT
Repository: metron
Updated Branches:
  refs/heads/master 0f8a323dd -> 5a1bb6784


METRON-1328 Enhance platform-info.sh script to check if docker daemon is running  (anandsubbu
via nickwallen) closes apache/metron#846


Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/5a1bb678
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/5a1bb678
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/5a1bb678

Branch: refs/heads/master
Commit: 5a1bb67849054708db880bec72d6dc813d642859
Parents: 0f8a323
Author: anandsubbu <asubramanian@hortonworks.com>
Authored: Tue Nov 28 12:59:10 2017 -0500
Committer: nickallen <nickallen@apache.org>
Committed: Tue Nov 28 12:59:10 2017 -0500

----------------------------------------------------------------------
 metron-deployment/scripts/platform-info.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/metron/blob/5a1bb678/metron-deployment/scripts/platform-info.sh
----------------------------------------------------------------------
diff --git a/metron-deployment/scripts/platform-info.sh b/metron-deployment/scripts/platform-info.sh
index a24098d..5a0cbe8 100755
--- a/metron-deployment/scripts/platform-info.sh
+++ b/metron-deployment/scripts/platform-info.sh
@@ -62,6 +62,10 @@ mvn --version
 # docker
 echo "--"
 docker --version
+if docker info 2>&1  | grep -q 'Cannot connect to the Docker daemon'
+then
+  echo "WARNING: Docker daemon is not running"
+fi
 
 # node
 echo "--"


Mime
View raw message