Github user ottobackwards commented on the issue:

    https://github.com/apache/metron/pull/846
  
    Thanks for the contribution!  This is a great idea.  If I may, I think this 
may be more clear:
    
    ```bash
    if docker info 2>&1  | grep -q 'Cannot connect to the Docker daemon'
    then
        echo "Docker daemon is not running"
    else
        echo "Docker daemon is running"
     fi
    
    ```


---

Reply via email to