Skip to content

Instantly share code, notes, and snippets.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment