[Home] Karl N. Redman:

development

Resolve docker hostnames from host with DNS Proxy Server

This article is a continuation of my previous HowTo: Dnsmasq + NetworkManager + Private Network Setup. With just a few configuration changes we will add the capability to interact with docker containers by their respective hostnames. Even though the dns-proxy-server project affords us this new functionality I recommend that dns-proxy-server only be used for development purposes. While it’s awesome to have the ability to reference individual containers by hostname during development efforts the concept doesn’t scale well.