diff --git a/tests/2_docker_daemon_configuration.sh b/tests/2_docker_daemon_configuration.sh index 6f97883..cdd39cd 100644 --- a/tests/2_docker_daemon_configuration.sh +++ b/tests/2_docker_daemon_configuration.sh @@ -205,7 +205,7 @@ fi # 2.21 check_2_21="2.21 - Avoid experimental features in production" -if docker info 2>/dev/null | grep -e "^Live Restore Enabled:\s*false\s*$" >/dev/null 2>&1; then +if docker info 2>/dev/null | grep -e "Experimental:\s*false*" 2>/dev/null 1>&2; then pass "$check_2_21" else warn "$check_2_21"