title: using a .sh script for docker healthchecks
body: <p>sitting on that problem for like 2 hours now and iam getting crazy</p>
  
  <p>here is the example bash script:</p>
  
  <pre><code>#!/bin/bash
  
  exit 0;
  </code></pre>
  
  <p>here is the dockerfile:</p>
  
  <pre><code>HEALTHCHECK --interval=2s CMD HealthCheckTest.sh || exit 1
  </code></pre>
  
  <p>I still get always unhealthy.</p>
  
  <p>Want i want to do is have some logic inside my bash script to determine if the container is healthy or not.</p>