bc90bb6855
Use a consistent approach for producing warnings, but add a TODO for moving this warning to the daemon, which can make a better call if it will work or not (depending on networking mode). This warning was originally added in [moby@afa92a9], before integration with libnetwork, and this warning may be incorrect in many scenarios. While updating, also removing the custom regular expression used to detect if the IP is a loopback address, and using go's netip package instead. [moby@afa92a9]: https://github.com/moby/moby/commit/afa92a9af0f1a77ef25aab73b11aa855a1823666 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 lines
60 B
Plaintext
2 lines
60 B
Plaintext
WARNING: Localhost DNS (127.0.0.11) may fail in containers.
|