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.
1 parent c046878 commit 04ef11fCopy full SHA for 04ef11f
entrypoint.sh
@@ -51,7 +51,7 @@ else
51
# If none hostname resolves, then we try using the default gateway address
52
if [ ! "$docker_host_ip" ]; then
53
docker_host_source="default gateway"
54
- docker_host_ip="$(ip -4 route show default | cut -d' ' -f3)"
+ docker_host_ip="$(ip -4 route show default | cut -d' ' -f3 | head -n1)"
55
fi
56
57
if [ ! "$docker_host_ip" ]
0 commit comments