Add Docker do_version_check

Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
Thomas Sjögren 2015-05-30 13:02:08 +02:00
parent 7082102612
commit d02a7f8c0e

View file

@ -40,6 +40,7 @@ fi
# 1.6
check_1_6="1.6 - Keep Docker up to date"
docker_version=`docker version | grep 'Server version' | awk '{print $3}'`
do_version_check 1.6.2 $docker_version
if [ $? -eq 11 ]; then
warn "$check_1_6"
else