+# Start Model Loader container only if SDC is up and running
+# Use the default SDC private IP address if no file exists or the file is empty
+if [[ -s "/opt/config/sdc_ip_addr.txt" ]]
+then
+ SDC_IP_ADDR=$(cat /opt/config/sdc_ip_addr.txt)
+else
+ SDC_IP_ADDR="10.0.3.1"
+fi
+
+# Run Health Check against SDC and verify that all five components are up
+RES=$(curl http://$SDC_IP_ADDR:8181/sdc1/rest/healthCheck | grep -c "OK")
+while [[ $RES -lt 5 ]]
+do
+ RES=$(curl http://$SDC_IP_ADDR:8181/sdc1/rest/healthCheck | grep -c "OK")
+done
+
+# At this point, SDC is healthy and Model Loader container can start