6 DFC=$(docker ps -a -q --filter="name=dfc")
8 # Wait for initialization of Docker contaienr for DFC
10 if [ $(docker inspect --format '{{ .State.Running }}' $DFC) ]
12 echo "DFC Container Running"
20 #Wait for initialization of the DFC service
22 if [ $(curl -so /dev/null -w '%{response_code}' http://localhost:8100/heartbeat ) -eq 200 ]
24 echo "DFC Service running"