aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/docker_run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-os-chef/scripts/docker_run.sh')
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index bb742765b8..9fd604744c 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -37,6 +37,7 @@ function dir_perms {
mkdir -p ${WORKSPACE}/data/logs/FE/SDC/SDC-FE
chmod -R 777 ${WORKSPACE}/data/logs
}
+
function probe_cs {
cs_stat=false
@@ -125,6 +126,8 @@ function monitor_docker {
TIME=$(($TIME+$INTERVAL))
done
+ docker logs $1 > ${WORKSPACE}/data/logs/$1_docker.log
+
if [ "$TIME" -ge "$TIME_OUT" ]; then
echo -e "\e[1;31mTIME OUT: DOCKER was NOT fully started in $TIME_OUT seconds... Could cause problems ...\e[0m"
fi
@@ -140,7 +143,7 @@ function healthCheck {
echo ""
echo ""
echo "FE health-Check:"
- curl http://${IP}:8181/sdc1/rest/healthCheck
+ curl http://127.0.0.1:8181/sdc1/rest/healthCheck
echo ""