News for hackers. Stuff that matters.
Re:Docker 1.10.0 is out by Myrmornis on Friday February 05, 2016 @01:44AM (#11039975)
Just in case a shorter version appeals to you, I think you could rewrite it like this:

  timeout 60 bash -c 'until is_ready; do sleep 10; done'
You'll need to `export -f is_ready` if it's a shell function. That's assuming you can use a timeout instead of number-of-retries.

http://man7.org/linux/man-pages/man1/timeout.1.html

Re:Docker 1.10.0 is out by bmelton on Friday February 05, 2016 @11:27AM (#11042461)
I was trying to find the source of where I got that bash script from, but couldn't, and then forgot about it within the editing window.

I'll try to find it and provide that feedback. Thanks!