mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
docker_version variable
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
9cccfa6902
commit
8ff1dc25ee
1 changed files with 1 additions and 1 deletions
|
@ -39,8 +39,8 @@ fi
|
||||||
|
|
||||||
# 1.6
|
# 1.6
|
||||||
check_1_6="1.6 - Keep Docker up to date"
|
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
|
do_version_check 1.6.2 $docker_version
|
||||||
docker version | grep 'Server version' | awk '{print $3}'
|
|
||||||
if [ $? -eq 11 ]; then
|
if [ $? -eq 11 ]; then
|
||||||
warn "$check_1_6"
|
warn "$check_1_6"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue