Merge "Fetch version for container engine."

This commit is contained in:
Zuul 2018-11-15 20:52:36 +00:00 committed by Gerrit Code Review
commit a738c7f5a2
1 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,7 @@
"${engine} ps --all --size"
"${engine} images"
"${engine} stats --all --no-stream"
"${engine} version"
"${engine} info"
);
if [ $engine = 'docker' ]; then
@ -227,6 +228,7 @@
for cmd in "${CONTAINER_INFO_CMDS[@]}"; do
echo "+ $cmd" >> $ALL_FILE;
$cmd >> $ALL_FILE;
echo "\n\n" >> $ALL_FILE;
done;
for cont in $(docker ps | awk {'print $NF'} | grep -v NAMES); do