blob: 4bec4ff8f28d1df97bb6c063b834aea56842f1e3 [file] [log] [blame]
BjornMagnussonXAd3104ef2019-03-26 12:48:46 +00001#!/bin/bash
2
3#Start DFC app
4
5docker-compose up -d
6
7DFC_APP="$(docker ps -q --filter='name=dfc_app')"
8
9#Wait for initialization of docker containers for dfc app and all simulators
10for i in {1..10}; do
11if [ $(docker inspect --format '{{ .State.Running }}' $DFC_APP) ]
12 then
13 echo "DFC app Running"
14 break
15 else
16 echo sleep $i
17 sleep $i
18 fi
19done
20