Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
-
-
25
Description
I'm running MongoDB inside the official container - however I am running docker in an IPv6 only environment.
When changing the config or docker entry point to run with ipv6 binding docker fails to bind with the following output
"ctx":"initandlisten","msg":"Found no addresses for peer","attr":{"peer":
{"code":7,"codeName":"HostNotFound","errmsg":"Could not find address for [[::]]:27017: SocketException: Host not found (authoritative)"}}}
I've tried typing the full IPv6 address, this also didn't work. It occurred to me that Mongod may be using a library to find the IPv6 address, I only have ifupdown and ifconfig installed.
Log attached.