Not sure I understand your question. From the last sentence it looks like you already know about the "--ip" flag that could be passed to the master. Are you looking for something else?
On Fri, Nov 8, 2013 at 1:28 PM, Khalid Goudeaux < [email protected]> wrote: > Is it possible to control the ip that the mesos-master publishes to > zookeeper for election/discovery? When running inside a docker container > the hostname and ip that the master sees may not be the host/ip that it's > externally accessible from. > > Also, inside a container the master would bind to and publish 127.0.0.1 by > default instead of the container ip as expected. Switching to 0.0.0.0 had > no effect. Only by explicitly specifying the container ip would it bind and > publish a usable ip. > > Thanks, > Khalid >

