{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/24017","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/24017/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/24017/comments","events_url":"https://api.github.com/repos/docker/docker/issues/24017/events","html_url":"https://github.com/docker/docker/issues/24017","id":162574193,"number":24017,"title":"Expose non-Manager external IP through API","user":{"login":"alexmavr","id":680441,"avatar_url":"https://avatars.githubusercontent.com/u/680441?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmavr","html_url":"https://github.com/alexmavr","followers_url":"https://api.github.com/users/alexmavr/followers","following_url":"https://api.github.com/users/alexmavr/following{/other_user}","gists_url":"https://api.github.com/users/alexmavr/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmavr/subscriptions","organizations_url":"https://api.github.com/users/alexmavr/orgs","repos_url":"https://api.github.com/users/alexmavr/repos","events_url":"https://api.github.com/users/alexmavr/events{/privacy}","received_events_url":"https://api.github.com/users/alexmavr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/swarm","name":"area/swarm","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/enhancement","name":"kind/enhancement","color":"E8CAAF"},{"url":"https://api.github.com/repos/docker/docker/labels/status/claimed","name":"status/claimed","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/53","html_url":"https://github.com/docker/docker/milestones/1.12.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/53/labels","id":1657301,"number":53,"title":"1.12.0","description":"feature/code freeze: June 14th, 2016","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":133,"closed_issues":637,"state":"open","created_at":"2016-03-21T13:47:53Z","updated_at":"2016-07-14T20:18:45Z","due_on":"2016-07-28T07:00:00Z","closed_at":null},"comments":10,"created_at":"2016-06-27T23:56:31Z","updated_at":"2016-07-14T20:26:49Z","closed_at":null,"body":"Managers are able to retrieve the IP address that is used to contact them through `node inspect` as `Node.ManagerStatus.Addr`, but there is no way for a non-manager to retrieve their own address. \r\n\r\nMy recommendation is to add an `Addr` field to the `swarm.Info` struct which exposes the address that managers use to contact the current node in a `host:port` format."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/232782059","html_url":"https://github.com/docker/docker/issues/24017#issuecomment-232782059","issue_url":"https://api.github.com/repos/docker/docker/issues/24017","id":232782059,"user":{"login":"alexmavr","id":680441,"avatar_url":"https://avatars.githubusercontent.com/u/680441?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmavr","html_url":"https://github.com/alexmavr","followers_url":"https://api.github.com/users/alexmavr/followers","following_url":"https://api.github.com/users/alexmavr/following{/other_user}","gists_url":"https://api.github.com/users/alexmavr/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmavr/subscriptions","organizations_url":"https://api.github.com/users/alexmavr/orgs","repos_url":"https://api.github.com/users/alexmavr/repos","events_url":"https://api.github.com/users/alexmavr/events{/privacy}","received_events_url":"https://api.github.com/users/alexmavr/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T20:26:49Z","updated_at":"2016-07-14T20:26:49Z","body":"The use case I'm describing would return `NodeSpec.Addr`, if it has been set by an operator, or `Node.RemoteAddr` otherwise."}}
{"actor":{"display_login":"alexmavr"}}