Display the provisioned version of docker tool kits

For debug purpose, print the installed version of docker,
docker-compose, and docker-engine. Because 'docker info' is related to
the docker-engine, postpone calling the command until docker virtual
machine has been created.

Change-Id: I4c869b7122b831b7f22c9c3846ac9cbe47c3b355
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Ryan Chu
2019-01-15 10:37:06 +01:00
committed by Liang Qi
parent b97e448ba4
commit ab3e34827a
3 changed files with 7 additions and 1 deletions

View File

@@ -46,6 +46,9 @@ case $1 in
*) ;;
esac
# Display system-wide information of docker-engine
docker info
# Sort files by their SHA-1, and then return the accumulated result
sha1tree () {
# For example, macOS doesn't install sha1sum by default. In such case, it uses shasum instead.