mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
Add Docker do_version_check
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
7082102612
commit
d02a7f8c0e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue