{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/27187","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/27187/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/27187/comments","events_url":"https://api.github.com/repos/docker/docker/issues/27187/events","html_url":"https://github.com/docker/docker/issues/27187","id":181377391,"number":27187,"title":"[docker/feature] create a light-weight init that can forward signals and reap zombies","user":{"login":"rogaha","id":4483394,"avatar_url":"https://avatars.githubusercontent.com/u/4483394?v=3","gravatar_id":"","url":"https://api.github.com/users/rogaha","html_url":"https://github.com/rogaha","followers_url":"https://api.github.com/users/rogaha/followers","following_url":"https://api.github.com/users/rogaha/following{/other_user}","gists_url":"https://api.github.com/users/rogaha/gists{/gist_id}","starred_url":"https://api.github.com/users/rogaha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogaha/subscriptions","organizations_url":"https://api.github.com/users/rogaha/orgs","repos_url":"https://api.github.com/users/rogaha/repos","events_url":"https://api.github.com/users/rogaha/events{/privacy}","received_events_url":"https://api.github.com/users/rogaha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-06T10:22:46Z","updated_at":"2016-10-06T14:12:48Z","closed_at":"2016-10-06T13:34:55Z","body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Description**\r\n\r\nIt would be great if Docker could handle the zombie processes within the container. Currently users have to add custom `init` applications in order to solve this issue (you can find more context here: https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/).\r\n\r\nA very cool project that solves that is: https://github.com/krallin/tini.\r\n\r\n/cc @crosbymichael @justincormack @shykes \r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/251973744","html_url":"https://github.com/docker/docker/issues/27187#issuecomment-251973744","issue_url":"https://api.github.com/repos/docker/docker/issues/27187","id":251973744,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T14:12:48Z","updated_at":"2016-10-06T14:12:48Z","body":"https://github.com/docker/docker/blob/master/api/types/swarm/network.go#L74\r\n\r\nNot really much to demo, just add `--init` to either `dockerd` or `docker run` and you will get a light-weight init in the container at PID1 that handles zombie reaping and signal forwarding.\r\n\r\nIt's using https://github.com/crosbymichael/grimes"}}
{"actor":{"display_login":"cpuguy83"}}