Closed micahlmartin closed 8 years ago
Try running adding --net=host
to your docker command. mesos-consul
uses the address of the mesos slave/agent to connect to the Consul agent. In your case, the mesos slave/agent is 127.0.0.1 and the docker container can't connect to it.
One issue that I have to fix is that the service is being added to the serviceCache even if the consul registration fails.
Yes. That does fix it. Thanks.
None of the services I launch ever get registered with consul. Here are the logs:
I'm launching with this command: