until nc -z $(docker inspect --format='{{.NetworkSettings.IPAddress}}' $CONTAINER_NAME) $SERVICE_PORT; do echo "waiting for service in container..."; sleep 0.5; done
Created
May 20, 2015 09:27
-
-
Save fntlnz/8ad0460e3db1b402ed30 to your computer and use it in GitHub Desktop.
Wait for ready service in docker container
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment