diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-07-18 09:09:03 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-07-18 09:13:19 -0700 |
commit | f1aabf9fb163d2b55703f99f1682439eb944fc6b (patch) | |
tree | 8c68ceaa85081ce3e06009b2627cdb1465fb608c /test/ete/scripts | |
parent | fb4b8fb98af42e61dff04a335809c268da1eb006 (diff) |
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 <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete/scripts')
-rwxr-xr-x | test/ete/scripts/get-docker-versions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |