mirror of https://github.com/CISOfy/lynis.git
Update tests_containers (#412)
last docker version no more use docker -d sounds better to check dockerd
This commit is contained in:
parent
3b66a22f39
commit
29f5dc7e53
|
@ -81,7 +81,7 @@
|
|||
# Description : Checking Docker daemon status and basic information for later tests
|
||||
Register --test-no CONT-8102 --weight L --network NO --category security --description "Checking Docker status and information"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
IsRunning "docker -d"
|
||||
IsRunning "dockerd"
|
||||
if [ ${RUNNING} -eq 1 ]; then
|
||||
LogText "Result: found Docker daemon running"
|
||||
Report "docker_daemon_running=1"
|
||||
|
|
Loading…
Reference in New Issue