Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Docker Cheat Sheet

Wait until container became healthy

until [[ "`docker inspect -f {{.State.Health.Status}} gitlab`" = "healthy" ]]; do
    echo 'waiting for container to be healthy...'
    sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.