docker/docker — pull request #9728 by kdomanski (2014-12-18 14:41:37+00:00)
Title: don't resolve endpoint hostnames DNS

This fixes #9708 . The tradeoff is, DNS resolution can no longer be used to match against insecure registries list. As a consequence, 127.0.0.1 is still automatically insecure, but localhost is not anymore.

Hostnames can still be matched verbatim against other hostnames.