From f1aabf9fb163d2b55703f99f1682439eb944fc6b Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 18 Jul 2018 09:09:03 -0700 Subject: Change to show docker images instead of docker ps docker ps image lists may be misleading due to image retagging. Change the script to show docker images instead. Change-Id: I90021d0ff671c1a8ea14c745d781f445d79bc1c7 Issue-ID: INT-532 Signed-off-by: Gary Wu --- test/ete/scripts/get-docker-versions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/ete/scripts') diff --git a/test/ete/scripts/get-docker-versions.sh b/test/ete/scripts/get-docker-versions.sh index 9c6ad62b6..92d1bc9cc 100755 --- a/test/ete/scripts/get-docker-versions.sh +++ b/test/ete/scripts/get-docker-versions.sh @@ -6,5 +6,6 @@ for SERVER in $SERVERS; do NAME=$(echo $SERVER | cut -d ' ' -f 1) IP_ADDR=$(echo $SERVER | cut -d ' ' -f 3) echo $NAME=$IP_ADDR - ssh root@$IP_ADDR "docker ps -a | grep -v CONTAINER | LC_ALL=C sort" + ssh -o StrictHostKeychecking=no root@$IP_ADDR "docker images -a | grep -v REPOSITORY | LC_ALL=C sort" + echo done -- cgit 1.2.3-korg