{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/25437","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/25437/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/25437/comments","events_url":"https://api.github.com/repos/docker/docker/issues/25437/events","html_url":"https://github.com/docker/docker/pull/25437","id":169618711,"number":25437,"title":"Added option hostname to docker service create. This option will allo…","user":{"login":"vasil-yordanov","id":1077175,"avatar_url":"https://avatars.githubusercontent.com/u/1077175?v=3","gravatar_id":"","url":"https://api.github.com/users/vasil-yordanov","html_url":"https://github.com/vasil-yordanov","followers_url":"https://api.github.com/users/vasil-yordanov/followers","following_url":"https://api.github.com/users/vasil-yordanov/following{/other_user}","gists_url":"https://api.github.com/users/vasil-yordanov/gists{/gist_id}","starred_url":"https://api.github.com/users/vasil-yordanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasil-yordanov/subscriptions","organizations_url":"https://api.github.com/users/vasil-yordanov/orgs","repos_url":"https://api.github.com/users/vasil-yordanov/repos","events_url":"https://api.github.com/users/vasil-yordanov/events{/privacy}","received_events_url":"https://api.github.com/users/vasil-yordanov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0"},{"url":"https://api.github.com/repos/docker/docker/labels/status/needs-attention","name":"status/needs-attention","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"mrjana","id":1693482,"avatar_url":"https://avatars.githubusercontent.com/u/1693482?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjana","html_url":"https://github.com/mrjana","followers_url":"https://api.github.com/users/mrjana/followers","following_url":"https://api.github.com/users/mrjana/following{/other_user}","gists_url":"https://api.github.com/users/mrjana/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjana/subscriptions","organizations_url":"https://api.github.com/users/mrjana/orgs","repos_url":"https://api.github.com/users/mrjana/repos","events_url":"https://api.github.com/users/mrjana/events{/privacy}","received_events_url":"https://api.github.com/users/mrjana/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrjana","id":1693482,"avatar_url":"https://avatars.githubusercontent.com/u/1693482?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjana","html_url":"https://github.com/mrjana","followers_url":"https://api.github.com/users/mrjana/followers","following_url":"https://api.github.com/users/mrjana/following{/other_user}","gists_url":"https://api.github.com/users/mrjana/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjana/subscriptions","organizations_url":"https://api.github.com/users/mrjana/orgs","repos_url":"https://api.github.com/users/mrjana/repos","events_url":"https://api.github.com/users/mrjana/events{/privacy}","received_events_url":"https://api.github.com/users/mrjana/received_events","type":"User","site_admin":false},{"login":"mavenugo","id":5056191,"avatar_url":"https://avatars.githubusercontent.com/u/5056191?v=3","gravatar_id":"","url":"https://api.github.com/users/mavenugo","html_url":"https://github.com/mavenugo","followers_url":"https://api.github.com/users/mavenugo/followers","following_url":"https://api.github.com/users/mavenugo/following{/other_user}","gists_url":"https://api.github.com/users/mavenugo/gists{/gist_id}","starred_url":"https://api.github.com/users/mavenugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavenugo/subscriptions","organizations_url":"https://api.github.com/users/mavenugo/orgs","repos_url":"https://api.github.com/users/mavenugo/repos","events_url":"https://api.github.com/users/mavenugo/events{/privacy}","received_events_url":"https://api.github.com/users/mavenugo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":29,"created_at":"2016-08-05T14:23:16Z","updated_at":"2016-10-25T01:25:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/25437","html_url":"https://github.com/docker/docker/pull/25437","diff_url":"https://github.com/docker/docker/pull/25437.diff","patch_url":"https://github.com/docker/docker/pull/25437.patch"},"body":"This pull request is related to issue docker/docker#24877\r\n\r\n**- What I did** \r\nAdded option hostname in docker service create command.\r\n\r\n**- How I did it**\r\nI changed the docker client, updated the ContainerSpec structures in docker/swarm repo, so that this option is serialized to the swarm agents from the clients.\r\n\r\n**- How to verify it**\r\ndocker service create --name test --hostname vasko <image_id>\r\ndocker exec test.1.<task_id> hostname\r\n\r\n**- Description for the changelog**\r\nThis pull request will allow to specify hostname option to the docker service create command.\r\nThe same hostname will be set on all containers.\r\n\r\nSigned-off-by: Vasil Yordanov <vasil.yordanov@gmail.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/255910986","html_url":"https://github.com/docker/docker/pull/25437#issuecomment-255910986","issue_url":"https://api.github.com/repos/docker/docker/issues/25437","id":255910986,"user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T01:25:00Z","updated_at":"2016-10-25T01:25:00Z","body":"@thaJeztah We merged the functionality in swarmkit. This PR will likely need to be carried for integration into docker."}}
{"actor":{"display_login":"stevvooe"}}