-
Notifications
You must be signed in to change notification settings - Fork 670
[dns] set hostname based on container name #750
Comments
NB: this needs to work with the proxy too, i.e. when the proxy is configured with
should set the hostname as described above. |
+1 |
This is different from the behaviour obtained from |
I disagree. We must not lose the ability to start named containers w/o weave setting the hostname. What is wrong with just modifying |
I was hoping to avoid parsing the docker arguments upfront by altering
I'll follow your recommendation! |
Side-effect to keep in mind is that |
|
and it needs to happen upfront because we cannot set the hostname after container creation time. |
Very superficially. But I take your point.
I misunderstood the requirement here - I thought you just wanted the record inserted into weaveDNS, not that you wanted the omission of the |
Use container name as hostname Closes #750.
Instead of
it would be nice to be able to just write
for the same effect.
at least when
--with-dns
is specified.i.e. if no hostname is specified it should be set to
<container-name>.<weavedns-domain>
.Gotcha: the weaveDNS domain can be overridden, so this should respect that. Which involves asking weaveDNS. Which may not be running yet, in which case we should just stick to weave.local.
The text was updated successfully, but these errors were encountered: