mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
commit
696d3f2a77
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# ------------------------------------------------------------------------------
|
||||
# Docker Bench for Security v1.0.0
|
||||
# Docker Bench for Security v1.1.0
|
||||
#
|
||||
# Docker, Inc. (c) 2015-
|
||||
#
|
||||
|
@ -59,7 +59,7 @@ if [ -z "$logger" ]; then
|
|||
fi
|
||||
|
||||
yell "# ------------------------------------------------------------------------------
|
||||
# Docker Bench for Security v1.0.0
|
||||
# Docker Bench for Security v1.1.0
|
||||
#
|
||||
# Docker, Inc. (c) 2015-
|
||||
#
|
||||
|
|
|
@ -41,8 +41,8 @@ fi
|
|||
check_1_5="1.5 - Keep Docker up to date"
|
||||
docker_version=$(docker version | grep -i -A1 '^server' | grep -i 'version:' \
|
||||
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,')
|
||||
docker_current_version="1.11.2"
|
||||
docker_current_date="2016-06-02"
|
||||
docker_current_version="1.12.0"
|
||||
docker_current_date="2016-07-28"
|
||||
do_version_check "$docker_current_version" "$docker_version"
|
||||
if [ $? -eq 11 ]; then
|
||||
warn "$check_1_5"
|
||||
|
|
Loading…
Reference in a new issue