Closed frankscholten closed 8 years ago
Adding --no-hostname_lookup
on the Master container does not fix the problem. The framework tab keeps displaying the container ID instead of the IP address.
Asked a question on the DC/OS Slack in #general
It does work! For some reason this change did not get propagated when I tested it yesterday.
frank@franktop:~$ curl -v http://172.17.0.4:5050/redirect
* Trying 172.17.0.4...
* Connected to 172.17.0.4 (172.17.0.4) port 5050 (#0)
> GET /redirect HTTP/1.1
> Host: 172.17.0.4:5050
> User-Agent: curl/7.46.0
> Accept: */*
>
< HTTP/1.1 307 Temporary Redirect
< Date: Wed, 06 Jul 2016 12:07:20 GMT
< Location: //172.17.0.4:5050
< Content-Length: 0
<
* Connection #0 to host 172.17.0.4 left intact
frank@franktop:~$ cd src/minimesos-docker
By default Mesos resolved hostnames but in minimesos this results in container IDs being used as hostnames. To disable this let's make
--no-hostname_lookup
configurable.