We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6478e9 + d85c733 commit f3e9c79Copy full SHA for f3e9c79
tests/1_host_configuration.sh
@@ -73,8 +73,12 @@ check_1_2_1() {
73
starttestjson "$id_1_2_1" "$desc_1_2_1"
74
75
totalChecks=$((totalChecks + 1))
76
+ docker_root_dir=$(docker info -f '{{ .DockerRootDir }}')
77
+ if docker info | grep -q userns ; then
78
+ docker_root_dir=$(readlink -f "$docker_root_dir/..")
79
+ fi
80
- if mountpoint -q -- "$(docker info -f '{{ .DockerRootDir }}')" >/dev/null 2>&1; then
81
+ if mountpoint -q -- "$docker_root_dir" >/dev/null 2>&1; then
82
pass "$check_1_2_1"
83
resulttestjson "PASS"
84
currentScore=$((currentScore + 1))
0 commit comments