Docker Community Forums

Share and learn in the Docker community.

Resolve domain and point it to docker containers

docker

(Peterbocan) #1

Hey guys, I want to achieve following:

Point domain TLD *.docker to a docker resolver that would resolve (sub-)domains of a project to multiple containers. I have multiple containers each doing its own part of the job, but I may need to access them via AJAX requests etc.

i would point the local dnsmasq to the docker DNS somehow, but where do I get the DNS server of Docker DNS daemon. And the containers would be resolved by a dnsmasq(?) daemon within the container. Any idea where to start?