{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/167","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/167/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/167/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/167","id":54938522,"number":167,"title":"Eureka in docker container - broken url's","user":{"login":"mbonski","id":3874625,"avatar_url":"https://avatars.githubusercontent.com/u/3874625?v=3","gravatar_id":"","url":"https://api.github.com/users/mbonski","html_url":"https://github.com/mbonski","followers_url":"https://api.github.com/users/mbonski/followers","following_url":"https://api.github.com/users/mbonski/following{/other_user}","gists_url":"https://api.github.com/users/mbonski/gists{/gist_id}","starred_url":"https://api.github.com/users/mbonski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbonski/subscriptions","organizations_url":"https://api.github.com/users/mbonski/orgs","repos_url":"https://api.github.com/users/mbonski/repos","events_url":"https://api.github.com/users/mbonski/events{/privacy}","received_events_url":"https://api.github.com/users/mbonski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-20T20:57:02Z","updated_at":"2015-01-20T21:14:56Z","closed_at":"2015-01-20T21:14:56Z","body":"Hi\r\nI have eureka and a bunch of other spring microservices running inside docker containers. All docker containers are linked with eureka using docker linking system. The whole solution works well but I've realized that some links are broken, for example, response from http://localhost:8761/eureka/apps contains \r\n\r\n    \\<hostName>0bbc3ff1f459\\</hostName>\r\n    \\<ipAddr>172.17.0.119\\</ipAddr>\r\n    \\<status>UP\\</status>\r\n    ...\r\n    \\<homePageUrl>http://0bbc3ff1f459:8888/\\</homePageUrl>\r\n    \\<statusPageUrl>http://0bbc3ff1f459:8888/info\\</statusPageUrl>\r\n    \\<healthCheckUrl>http://0bbc3ff1f459:8888/health\\</healthCheckUrl>\r\n\r\nthe problem is with the following part of the url \"0bbc3ff1f459\" which is a container hostname randomly created by the docker. When I replace \"0bbc3ff1f459\" with the IP address link it works fine.\r\nThe link on the eureka dashboard in the status column is broken too.\r\n\r\nI'm wondering if you know of any way to avoid this problem.\r\n "}}