arnested.dk/go/healthy (go): Command healthy waits for Docker container(s) to become healthy.  The command takes one or more container ID's as argument(s) and will not exit until all of them are reported "healthy" as it Health check status.  A container with no health check defined is always considered healthy.  When all specified containers are reported healthy the command will exit with return code 0.  In a docker-compose setup you could wait for all services to be healthy by running:  Or just could wait for the database service to be healthy by running:  To wait no longer than one and half minute for containers to be healthy:  You can also run healthy using a Docker image:
Keywords: docker|docker-health-check|hacktoberfest|healthcheck|tools