{"action":"closed","number":1688,"pull_request":{"url":"https://api.github.com/repos/docker/swarmkit/pulls/1688","id":90718576,"html_url":"https://github.com/docker/swarmkit/pull/1688","diff_url":"https://github.com/docker/swarmkit/pull/1688.diff","patch_url":"https://github.com/docker/swarmkit/pull/1688.patch","issue_url":"https://api.github.com/repos/docker/swarmkit/issues/1688","number":1688,"state":"closed","locked":false,"title":"api: add support for setting a container's hostname","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},"body":"Adds support for setting a container's hostname via the\r\n`ContainerSpec.Hostname`. All containers in the service will get the\r\nsame value for the hostname.\r\n\r\nThis was implemented in a series of 5 commits by\r\n\r\nSeparate integration tests for CI\r\n\r\nSigned-off-by: Nikolay Milovanov <nmil@itransformers.net>\r\n\r\nAdded option hostname to docker service create\r\n\r\nSigned-off-by: Vasil Yordanov <vasil.yordanov@gmail.com>\r\n\r\nUse Hostname field in agent/exec/container\r\n\r\nSigned-off-by: Vasil Yordanov <vasil.yordanov@gmail.com>\r\n\r\nAdded validation for hostname parameter\r\n\r\nSigned-off-by: Vasil Yordanov <vasil.yordanov@gmail.com>\r\n\r\nPre-compile the regexp for the hostname validation\r\n\r\nSigned-off-by: Vasil Yordanov <vasil.yordanov@gmail.com>\r\nSigned-off-by: Stephen J Day <stephen.day@docker.com>\r\n\r\nSupersedes #1318.","created_at":"2016-10-25T00:29:51Z","updated_at":"2016-10-25T00:48:44Z","closed_at":"2016-10-25T00:48:43Z","merged_at":"2016-10-25T00:48:42Z","merge_commit_sha":"a0053c402c2fe52453cdd1f2879238e940266f2d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/swarmkit/pulls/1688/commits","review_comments_url":"https://api.github.com/repos/docker/swarmkit/pulls/1688/comments","review_comment_url":"https://api.github.com/repos/docker/swarmkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/swarmkit/issues/1688/comments","statuses_url":"https://api.github.com/repos/docker/swarmkit/statuses/1ce24f85c323a6f639b28ca5325df389e41010af","head":{"label":"stevvooe:hostname-support","ref":"hostname-support","sha":"1ce24f85c323a6f639b28ca5325df389e41010af","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},"repo":{"id":60661861,"name":"swarmkit","full_name":"stevvooe/swarmkit","owner":{"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},"private":false,"html_url":"https://github.com/stevvooe/swarmkit","description":"A toolkit for embedding orchestration and cluster management capabilities in your application","fork":true,"url":"https://api.github.com/repos/stevvooe/swarmkit","forks_url":"https://api.github.com/repos/stevvooe/swarmkit/forks","keys_url":"https://api.github.com/repos/stevvooe/swarmkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevvooe/swarmkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevvooe/swarmkit/teams","hooks_url":"https://api.github.com/repos/stevvooe/swarmkit/hooks","issue_events_url":"https://api.github.com/repos/stevvooe/swarmkit/issues/events{/number}","events_url":"https://api.github.com/repos/stevvooe/swarmkit/events","assignees_url":"https://api.github.com/repos/stevvooe/swarmkit/assignees{/user}","branches_url":"https://api.github.com/repos/stevvooe/swarmkit/branches{/branch}","tags_url":"https://api.github.com/repos/stevvooe/swarmkit/tags","blobs_url":"https://api.github.com/repos/stevvooe/swarmkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevvooe/swarmkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevvooe/swarmkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevvooe/swarmkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevvooe/swarmkit/statuses/{sha}","languages_url":"https://api.github.com/repos/stevvooe/swarmkit/languages","stargazers_url":"https://api.github.com/repos/stevvooe/swarmkit/stargazers","contributors_url":"https://api.github.com/repos/stevvooe/swarmkit/contributors","subscribers_url":"https://api.github.com/repos/stevvooe/swarmkit/subscribers","subscription_url":"https://api.github.com/repos/stevvooe/swarmkit/subscription","commits_url":"https://api.github.com/repos/stevvooe/swarmkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevvooe/swarmkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevvooe/swarmkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevvooe/swarmkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevvooe/swarmkit/contents/{+path}","compare_url":"https://api.github.com/repos/stevvooe/swarmkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevvooe/swarmkit/merges","archive_url":"https://api.github.com/repos/stevvooe/swarmkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevvooe/swarmkit/downloads","issues_url":"https://api.github.com/repos/stevvooe/swarmkit/issues{/number}","pulls_url":"https://api.github.com/repos/stevvooe/swarmkit/pulls{/number}","milestones_url":"https://api.github.com/repos/stevvooe/swarmkit/milestones{/number}","notifications_url":"https://api.github.com/repos/stevvooe/swarmkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevvooe/swarmkit/labels{/name}","releases_url":"https://api.github.com/repos/stevvooe/swarmkit/releases{/id}","deployments_url":"https://api.github.com/repos/stevvooe/swarmkit/deployments","created_at":"2016-06-08T02:23:25Z","updated_at":"2016-10-14T20:36:33Z","pushed_at":"2016-10-25T00:29:17Z","git_url":"git://github.com/stevvooe/swarmkit.git","ssh_url":"git@github.com:stevvooe/swarmkit.git","clone_url":"https://github.com/stevvooe/swarmkit.git","svn_url":"https://github.com/stevvooe/swarmkit","homepage":"","size":11055,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"f9c210ad96decf9caa41fd5242a88d3c5cdf6d98","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":51556828,"name":"swarmkit","full_name":"docker/swarmkit","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/swarmkit","description":"A toolkit for orchestrating distributed systems at any scale. It includes primitives for node discovery, raft-based consensus, task scheduling and more.","fork":false,"url":"https://api.github.com/repos/docker/swarmkit","forks_url":"https://api.github.com/repos/docker/swarmkit/forks","keys_url":"https://api.github.com/repos/docker/swarmkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/swarmkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/swarmkit/teams","hooks_url":"https://api.github.com/repos/docker/swarmkit/hooks","issue_events_url":"https://api.github.com/repos/docker/swarmkit/issues/events{/number}","events_url":"https://api.github.com/repos/docker/swarmkit/events","assignees_url":"https://api.github.com/repos/docker/swarmkit/assignees{/user}","branches_url":"https://api.github.com/repos/docker/swarmkit/branches{/branch}","tags_url":"https://api.github.com/repos/docker/swarmkit/tags","blobs_url":"https://api.github.com/repos/docker/swarmkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/swarmkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/swarmkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/swarmkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/swarmkit/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/swarmkit/languages","stargazers_url":"https://api.github.com/repos/docker/swarmkit/stargazers","contributors_url":"https://api.github.com/repos/docker/swarmkit/contributors","subscribers_url":"https://api.github.com/repos/docker/swarmkit/subscribers","subscription_url":"https://api.github.com/repos/docker/swarmkit/subscription","commits_url":"https://api.github.com/repos/docker/swarmkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/swarmkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/swarmkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/swarmkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/swarmkit/contents/{+path}","compare_url":"https://api.github.com/repos/docker/swarmkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/swarmkit/merges","archive_url":"https://api.github.com/repos/docker/swarmkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/swarmkit/downloads","issues_url":"https://api.github.com/repos/docker/swarmkit/issues{/number}","pulls_url":"https://api.github.com/repos/docker/swarmkit/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/swarmkit/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/swarmkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/swarmkit/labels{/name}","releases_url":"https://api.github.com/repos/docker/swarmkit/releases{/id}","deployments_url":"https://api.github.com/repos/docker/swarmkit/deployments","created_at":"2016-02-12T00:02:15Z","updated_at":"2016-10-25T00:23:31Z","pushed_at":"2016-10-25T00:48:45Z","git_url":"git://github.com/docker/swarmkit.git","ssh_url":"git@github.com:docker/swarmkit.git","clone_url":"https://github.com/docker/swarmkit.git","svn_url":"https://github.com/docker/swarmkit","homepage":"","size":22204,"stargazers_count":1004,"watchers_count":1004,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":197,"mirror_url":null,"open_issues_count":178,"forks":197,"open_issues":178,"watchers":1004,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/1688"},"html":{"href":"https://github.com/docker/swarmkit/pull/1688"},"issue":{"href":"https://api.github.com/repos/docker/swarmkit/issues/1688"},"comments":{"href":"https://api.github.com/repos/docker/swarmkit/issues/1688/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/1688/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/swarmkit/pulls/1688/commits"},"statuses":{"href":"https://api.github.com/repos/docker/swarmkit/statuses/1ce24f85c323a6f639b28ca5325df389e41010af"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":4,"review_comments":0,"commits":1,"additions":188,"deletions":113,"changed_files":4}}
{"actor":{"display_login":"stevvooe"}}