{"action":"created","comment":{"url":"https://api.github.com/repos/docker/cli/pulls/comments/124828702","pull_request_review_id":47156586,"id":124828702,"diff_hunk":"@@ -27,8 +27,11 @@ Options:\n \n ## Description\n \n-The main process inside the container will be sent `SIGKILL`, or any\n-signal specified with option `--signal`.\n+The `docker kill` subcommand kills one or more containers. The main process\n+inside the container will be sent `SIGKILL` (default), the stop-signal that is\n+defined in the image using the [`STOPSIGNAL`](../../builder/#stopsignal)\n+Dockerfile instruction, or any signal specified with option `--signal` or\n+`STOPSIGNAL` . You can kill a container using the container's ID or name.","path":"docs/reference/commandline/kill.md","position":10,"original_position":10,"commit_id":"b071076d34735aaefaf5eb3d1f6a5666c761e4b7","original_commit_id":"b071076d34735aaefaf5eb3d1f6a5666c761e4b7","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars2.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"body":"I don't think this is correct, the `STOPSIGNAL` should only be used for `stop`, not `kill`. I just tested quickly on 17.05 and that's the case. Did this change in 17.06?","created_at":"2017-06-29T15:11:14Z","updated_at":"2017-06-29T15:11:27Z","html_url":"https://github.com/docker/cli/pull/264#discussion_r124828702","pull_request_url":"https://api.github.com/repos/docker/cli/pulls/264","_links":{"self":{"href":"https://api.github.com/repos/docker/cli/pulls/comments/124828702"},"html":{"href":"https://github.com/docker/cli/pull/264#discussion_r124828702"},"pull_request":{"href":"https://api.github.com/repos/docker/cli/pulls/264"}}},"pull_request":{"url":"https://api.github.com/repos/docker/cli/pulls/264","id":128093601,"html_url":"https://github.com/docker/cli/pull/264","diff_url":"https://github.com/docker/cli/pull/264.diff","patch_url":"https://github.com/docker/cli/pull/264.patch","issue_url":"https://api.github.com/repos/docker/cli/issues/264","number":264,"state":"open","locked":false,"title":"Update docker kill reference docs","user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars1.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},"body":"- explain that a custom stop-signal can be set in an image\r\n- explain the either \"name\" or \"id\" can be used to reference a container\r\n\r\ncontinues the work started in https://github.com/moby/moby/pull/32803  by @scjane ","created_at":"2017-06-29T08:20:58Z","updated_at":"2017-06-29T15:11:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecb1168dacd88e2363ae7637b36d3ac139fd32bc","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/cli/pulls/264/commits","review_comments_url":"https://api.github.com/repos/docker/cli/pulls/264/comments","review_comment_url":"https://api.github.com/repos/docker/cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/cli/issues/264/comments","statuses_url":"https://api.github.com/repos/docker/cli/statuses/b071076d34735aaefaf5eb3d1f6a5666c761e4b7","head":{"label":"thaJeztah:carry-moby-32803","ref":"carry-moby-32803","sha":"b071076d34735aaefaf5eb3d1f6a5666c761e4b7","user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars1.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},"repo":{"id":90747899,"name":"cli","full_name":"thaJeztah/cli","owner":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars1.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},"private":false,"html_url":"https://github.com/thaJeztah/cli","description":"The Docker CLI","fork":true,"url":"https://api.github.com/repos/thaJeztah/cli","forks_url":"https://api.github.com/repos/thaJeztah/cli/forks","keys_url":"https://api.github.com/repos/thaJeztah/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thaJeztah/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thaJeztah/cli/teams","hooks_url":"https://api.github.com/repos/thaJeztah/cli/hooks","issue_events_url":"https://api.github.com/repos/thaJeztah/cli/issues/events{/number}","events_url":"https://api.github.com/repos/thaJeztah/cli/events","assignees_url":"https://api.github.com/repos/thaJeztah/cli/assignees{/user}","branches_url":"https://api.github.com/repos/thaJeztah/cli/branches{/branch}","tags_url":"https://api.github.com/repos/thaJeztah/cli/tags","blobs_url":"https://api.github.com/repos/thaJeztah/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thaJeztah/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thaJeztah/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/thaJeztah/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thaJeztah/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/thaJeztah/cli/languages","stargazers_url":"https://api.github.com/repos/thaJeztah/cli/stargazers","contributors_url":"https://api.github.com/repos/thaJeztah/cli/contributors","subscribers_url":"https://api.github.com/repos/thaJeztah/cli/subscribers","subscription_url":"https://api.github.com/repos/thaJeztah/cli/subscription","commits_url":"https://api.github.com/repos/thaJeztah/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/thaJeztah/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/thaJeztah/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/thaJeztah/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/thaJeztah/cli/contents/{+path}","compare_url":"https://api.github.com/repos/thaJeztah/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thaJeztah/cli/merges","archive_url":"https://api.github.com/repos/thaJeztah/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thaJeztah/cli/downloads","issues_url":"https://api.github.com/repos/thaJeztah/cli/issues{/number}","pulls_url":"https://api.github.com/repos/thaJeztah/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/thaJeztah/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/thaJeztah/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thaJeztah/cli/labels{/name}","releases_url":"https://api.github.com/repos/thaJeztah/cli/releases{/id}","deployments_url":"https://api.github.com/repos/thaJeztah/cli/deployments","created_at":"2017-05-09T13:18:29Z","updated_at":"2017-05-09T13:18:31Z","pushed_at":"2017-06-29T08:19:19Z","git_url":"git://github.com/thaJeztah/cli.git","ssh_url":"git@github.com:thaJeztah/cli.git","clone_url":"https://github.com/thaJeztah/cli.git","svn_url":"https://github.com/thaJeztah/cli","homepage":null,"size":11797,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"4c88a1cb53476f105aca12c976927d6900a61028","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars2.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":88013053,"name":"cli","full_name":"docker/cli","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars2.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/cli","description":"The Docker CLI","fork":false,"url":"https://api.github.com/repos/docker/cli","forks_url":"https://api.github.com/repos/docker/cli/forks","keys_url":"https://api.github.com/repos/docker/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/cli/teams","hooks_url":"https://api.github.com/repos/docker/cli/hooks","issue_events_url":"https://api.github.com/repos/docker/cli/issues/events{/number}","events_url":"https://api.github.com/repos/docker/cli/events","assignees_url":"https://api.github.com/repos/docker/cli/assignees{/user}","branches_url":"https://api.github.com/repos/docker/cli/branches{/branch}","tags_url":"https://api.github.com/repos/docker/cli/tags","blobs_url":"https://api.github.com/repos/docker/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/cli/languages","stargazers_url":"https://api.github.com/repos/docker/cli/stargazers","contributors_url":"https://api.github.com/repos/docker/cli/contributors","subscribers_url":"https://api.github.com/repos/docker/cli/subscribers","subscription_url":"https://api.github.com/repos/docker/cli/subscription","commits_url":"https://api.github.com/repos/docker/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/cli/contents/{+path}","compare_url":"https://api.github.com/repos/docker/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/cli/merges","archive_url":"https://api.github.com/repos/docker/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/cli/downloads","issues_url":"https://api.github.com/repos/docker/cli/issues{/number}","pulls_url":"https://api.github.com/repos/docker/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/cli/labels{/name}","releases_url":"https://api.github.com/repos/docker/cli/releases{/id}","deployments_url":"https://api.github.com/repos/docker/cli/deployments","created_at":"2017-04-12T05:27:42Z","updated_at":"2017-06-29T02:49:43Z","pushed_at":"2017-06-29T14:51:35Z","git_url":"git://github.com/docker/cli.git","ssh_url":"git@github.com:docker/cli.git","clone_url":"https://github.com/docker/cli.git","svn_url":"https://github.com/docker/cli","homepage":null,"size":11793,"stargazers_count":167,"watchers_count":167,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"open_issues_count":81,"forks":119,"open_issues":81,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/cli/pulls/264"},"html":{"href":"https://github.com/docker/cli/pull/264"},"issue":{"href":"https://api.github.com/repos/docker/cli/issues/264"},"comments":{"href":"https://api.github.com/repos/docker/cli/issues/264/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/cli/pulls/264/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/cli/pulls/264/commits"},"statuses":{"href":"https://api.github.com/repos/docker/cli/statuses/b071076d34735aaefaf5eb3d1f6a5666c761e4b7"}}}}
{"actor":{"display_login":"dnephin"}}