Script to wait untill Docker container is healthy
By Tom Howard, January 2020
Here's a quick script that can be used to wait until a Docker container reports the status is heathly (or not). It assumes the image has HEALTHCHECK configured First arg is the container ID. !/bin/bash while true do STATUS=docker inspect… (more)