Example for http://HOST:PORT Wait for the HOST container to be ready before starting Kibana. echo "Stalling for HOST" while true; do nc -q 1 HOST PORT 2>/dev/null && break done