Can we set custom mDNS entries for docker.local's IP?

I have an application that uses the hostname http header as an input. With docker toolbox and earlier, I would create custom entries in /etc/hosts, which works but has limitations. It would be great if we could add custom dns entries to the mDNS server, or if we could add hostname aliases for docker.local. If we can’t do this now, is anything like that in the pipeline?

2 Likes

I second this. Also, docker.local seems a poor choice for OS X as it has some limitations. It causes long delays for example when I try to connect via cqlsh to a cassandra container. I avoid these issues by simply using anything other than a *.local domain.

I was wondering about the .local choice also, it would be nice if docker would elaborate on this decision.