We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3d87e6d + c30a43c commit 260a3a7Copy full SHA for 260a3a7
tests/2_docker_daemon_configuration.sh
@@ -204,7 +204,7 @@ fi
204
# 2.17
205
check_2_17="2.17 - Bind swarm services to a specific host interface"
206
if docker info 2>/dev/null | grep -e "Swarm:*\sactive\s*" >/dev/null 2>&1; then
207
- netstat -lt | grep -e '\[::]:2377' -e '*:2377' -e '0.0.0.0:2377' >/dev/null 2>&1
+ netstat -lnt | grep -e '\[::]:2377 ' -e ':::2377' -e '*:2377 ' -e ' 0\.0\.0\.0:2377 ' >/dev/null 2>&1
208
if [ $? -eq 1 ]; then
209
pass "$check_2_17"
210
else
0 commit comments