title: Ping until docker is up or until timeout
body: <p>I am running an app on a docker container,<br>
  my app runs on <code>http://127.0.0.1:8080/</code><br>
  once the app is up - 
  (not once the container is running, once the app is ready to use)
  i want to run the tests,<br>
  If it takes the app more than a minute to run i want to print an error and exit.<br>
  <strong>How can i ping to the app until it's up or until the timeout past?</strong></p>