This commit is contained in:
Bertrand Gouny committed 2014-06-22 17:48:54 +02:00
1 parent ea563acee9
commit 1b6dab9852
3 files changed
+29 -2

No files matched your search

+6
View File
@@ -6,3 +6,9 @@ $dir/delete-image.sh > /dev/null 2>&1
echo "------- End -------"
echo $error " failed " $ok " succeeded"
if [ "$error" -eq 0 ]; then
exit 0
else
exit 1
fi
+2 -2
View File
@@ -2,10 +2,10 @@
echo "docker.io run --name $testContainer $runOptions -d $testImage"
ID=`docker.io run --name $testContainer $runOptions -d $testImage`
sleep 7
sleep 10
echo " --> Obtaining IP"
IP=`docker inspect -f "{{ .NetworkSettings.IPAddress }}" $ID`
IP=`docker.io inspect -f "{{ .NetworkSettings.IPAddress }}" $ID`
if [ "$IP" = "" ]; then
abort "Unable to obtain container IP"
exit 1