{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/3586","repository_url":"https://api.github.com/repos/mesosphere/marathon","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/3586/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/3586/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/3586/events","html_url":"https://github.com/mesosphere/marathon/issues/3586","id":143351073,"number":3586,"title":"Question:  Is it possible to get Docker container IP as $-parameter in the health checks?","user":{"login":"robbrockbank","id":3227729,"avatar_url":"https://avatars.githubusercontent.com/u/3227729?v=3","gravatar_id":"","url":"https://api.github.com/users/robbrockbank","html_url":"https://github.com/robbrockbank","followers_url":"https://api.github.com/users/robbrockbank/followers","following_url":"https://api.github.com/users/robbrockbank/following{/other_user}","gists_url":"https://api.github.com/users/robbrockbank/gists{/gist_id}","starred_url":"https://api.github.com/users/robbrockbank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbrockbank/subscriptions","organizations_url":"https://api.github.com/users/robbrockbank/orgs","repos_url":"https://api.github.com/users/robbrockbank/repos","events_url":"https://api.github.com/users/robbrockbank/events{/privacy}","received_events_url":"https://api.github.com/users/robbrockbank/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T20:28:07Z","updated_at":"2016-03-25T12:21:24Z","closed_at":null,"body":"I'm running Docker-containerizer tasks with a Docker network that assigns a routable IP per container.\r\n\r\nI'd like to run health checks for the tasks, but really need to be able to access the container IP address.  Is this possible?  There are `$HOST` and `$PORT0` parameters, but is there something like `$IP` to access the container IP?\r\n\r\nI have used the DNS entry for accessing the container IP, but this doesn't work if you scale a task so there are multiple identically names tasks.  I think being able to access the IP would be better (and wouldn't rely on DNS)."},"comment":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/201260275","html_url":"https://github.com/mesosphere/marathon/issues/3586#issuecomment-201260275","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/3586","id":201260275,"user":{"login":"ricardoareis","id":7689808,"avatar_url":"https://avatars.githubusercontent.com/u/7689808?v=3","gravatar_id":"","url":"https://api.github.com/users/ricardoareis","html_url":"https://github.com/ricardoareis","followers_url":"https://api.github.com/users/ricardoareis/followers","following_url":"https://api.github.com/users/ricardoareis/following{/other_user}","gists_url":"https://api.github.com/users/ricardoareis/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardoareis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardoareis/subscriptions","organizations_url":"https://api.github.com/users/ricardoareis/orgs","repos_url":"https://api.github.com/users/ricardoareis/repos","events_url":"https://api.github.com/users/ricardoareis/events{/privacy}","received_events_url":"https://api.github.com/users/ricardoareis/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T12:21:24Z","updated_at":"2016-03-25T12:21:24Z","body":"it would be awesome, currently, I use Calico IPAM and health check with a script inside a container."}}