#!/bin/bash while ! docker logs v3-user --tail=1 | grep -q "Nest application successfully started"; do sleep 5 echo "Waiting for Nest to be up..." done