until [[ "`docker inspect -f {{.State.Health.Status}} gitlab`" = "healthy" ]]; do
echo 'waiting for container to be healthy...'
sleep 5
done
Last active
November 14, 2017 20:17
-
-
Save michaellihs/9130d1db63ea973b9f1b0572b6d3aca2 to your computer and use it in GitHub Desktop.
Docker Cheat Sheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment