mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
commit
00ea5bc0fb
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ fi
|
||||||
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 -i -A1 '^server' | grep -i 'version:' \
|
docker_version=$(docker version | grep -i -A1 '^server' | grep -i 'version:' \
|
||||||
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,')
|
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,')
|
||||||
docker_current_version="1.10.1"
|
docker_current_version="1.10.2"
|
||||||
docker_current_date="2016-02-11"
|
docker_current_date="2016-02-22"
|
||||||
do_version_check "$docker_current_version" "$docker_version"
|
do_version_check "$docker_current_version" "$docker_version"
|
||||||
if [ $? -eq 11 ]; then
|
if [ $? -eq 11 ]; then
|
||||||
warn "$check_1_6"
|
warn "$check_1_6"
|
||||||
|
|
Loading…
Reference in a new issue