{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/26007","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/26007/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/26007/comments","events_url":"https://api.github.com/repos/docker/docker/issues/26007/events","html_url":"https://github.com/docker/docker/issues/26007","id":173167725,"number":26007,"title":"Add a new service mode to restrict in which nodes to run","user":{"login":"manast","id":95200,"avatar_url":"https://avatars.githubusercontent.com/u/95200?v=3","gravatar_id":"","url":"https://api.github.com/users/manast","html_url":"https://github.com/manast","followers_url":"https://api.github.com/users/manast/followers","following_url":"https://api.github.com/users/manast/following{/other_user}","gists_url":"https://api.github.com/users/manast/gists{/gist_id}","starred_url":"https://api.github.com/users/manast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manast/subscriptions","organizations_url":"https://api.github.com/users/manast/orgs","repos_url":"https://api.github.com/users/manast/repos","events_url":"https://api.github.com/users/manast/events{/privacy}","received_events_url":"https://api.github.com/users/manast/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T10:27:13Z","updated_at":"2016-08-25T13:23:19Z","closed_at":"2016-08-25T13:23:19Z","body":"There are some use cases where it would be quite useful to restrict on which nodes a certain service is allowed to run. I do not think this is possible today (as version 1.12.1 of docker). \r\nOne case for example is if you want to share a swarm with different front-end services, every front end service will be accessed at port 80/443 on a given domain. So we may want to restrict a service to only use its front facing node as well as all the other non front facing nodes that are part of the swarm, but not running on another service front facing node, since then they will compete for the same ports.\r\nWhat do you think? a legitimate use case and feature request?"}}
{"actor":{"display_login":"cpuguy83"}}