mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-18 16:22:33 +01:00
commit
4ec0962704
1 changed files with 2 additions and 0 deletions
|
@ -178,6 +178,8 @@ if docker info 2>/dev/null | grep -e "Live Restore Enabled:\s*true\s*" >/dev/nul
|
|||
else
|
||||
if docker info 2>/dev/null | grep -e "Swarm:*\sactive\s*" >/dev/null 2>&1; then
|
||||
pass "$check_2_14 (Incompatible with swarm mode)"
|
||||
elif get_docker_effective_command_line_args '--live-restore' | grep "live-restore" >/dev/null 2>&1; then
|
||||
pass "$check_2_14"
|
||||
else
|
||||
warn "$check_2_14"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue