3 ms·
It uses DNS for only discovering the other containers within the same custom network, if query is not found the DNS redirects the queries to your own DNS server
by CSDude 11y ago
It uses DNS for only discovering the other containers within the same custom network, if query is not found the DNS redirects the queries to your own DNS server, I don't see how it can be worse than /etc/hosts solution.
- ChristianBundy 11y agoExactly, obviously /etc/hosts will still take precedence, but instead of munging your /etc/hosts when starting a container you can just use their DNS server. I don't see a problem with this.