blob: 4f486af2040bbe7f884af95a2f07c8baced5376e [file] [log] [blame]
#! /bin/bash
echo "Waiting for XOS to come up"
until http 0.0.0.0:80 &> /dev/null
do
sleep 1
RUNNING_CONTAINER=`sudo docker ps|grep "xos"|awk '{print $$NF}'`
if [[ $RUNNING_CONTAINER == "" ]]; then
echo Container may have failed. check with \"make showlogs\'
exit 1
fi
done
echo "XOS is ready"