2 ms·
it also fiddles with your container's resolv.conf, which can cock stuff up really badly if you are using search domain.
by KaiserPro 4y ago
it also fiddles with your container's resolv.conf, which can cock stuff up really badly if you are using search domain.
- bionade24 4y agoThere is a option to hardcode DNS and also an option to don't abstract networking and use host mode. Fiddling with your container's resolv.conf is necessary for docker networks between containers.
- KaiserPro 4y agoIndeed its configurable, but its not obvious! it was only when I was doing TCP dump on the host did I realise that docker was routing our containers to 8.8.8.8, rather than the proper DNS that we had specified.