{"action":"created","issue":{"url":"https://api.github.com/repos/dreamcat4/docker-images/issues/1","labels_url":"https://api.github.com/repos/dreamcat4/docker-images/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dreamcat4/docker-images/issues/1/comments","events_url":"https://api.github.com/repos/dreamcat4/docker-images/issues/1/events","html_url":"https://github.com/dreamcat4/docker-images/issues/1","id":57984056,"number":1,"title":"pipework - Error response from daemon: Cannot stop container pipework: no such process","user":{"login":"dreamcat4","id":63074,"avatar_url":"https://avatars.githubusercontent.com/u/63074?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamcat4","html_url":"https://github.com/dreamcat4","followers_url":"https://api.github.com/users/dreamcat4/followers","following_url":"https://api.github.com/users/dreamcat4/following{/other_user}","gists_url":"https://api.github.com/users/dreamcat4/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamcat4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamcat4/subscriptions","organizations_url":"https://api.github.com/users/dreamcat4/orgs","repos_url":"https://api.github.com/users/dreamcat4/repos","events_url":"https://api.github.com/users/dreamcat4/events{/privacy}","received_events_url":"https://api.github.com/users/dreamcat4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-17T21:21:26Z","updated_at":"2015-04-03T06:50:08Z","closed_at":null,"body":"This is currently happening in daemon mode, `v1.0.1`.\r\n\r\n```\r\n$ docker stop pipework\r\nError response from daemon: Cannot stop container pipework: no such process\r\nFATA[0000] Error: failed to stop one or more containers \r\n$ docker kill pipework\r\nError response from daemon: Cannot kill container pipework: no such process\r\nFATA[0000] Error: failed to stop one or more containers \r\n```\r\n\r\nThe cause is not known. But may be related to piping 2nd command output (subshell) into `while read loop`. Here:\r\n\r\nhttps://github.com/dreamcat4/docker-images/blob/master/pipework/entrypoint.sh#L349\r\n\r\nThe only known solution ATM seems to be:\r\n\r\n```\r\nsudo service docker restart\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dreamcat4/docker-images/issues/comments/89193596","html_url":"https://github.com/dreamcat4/docker-images/issues/1#issuecomment-89193596","issue_url":"https://api.github.com/repos/dreamcat4/docker-images/issues/1","id":89193596,"user":{"login":"dreamcat4","id":63074,"avatar_url":"https://avatars.githubusercontent.com/u/63074?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamcat4","html_url":"https://github.com/dreamcat4","followers_url":"https://api.github.com/users/dreamcat4/followers","following_url":"https://api.github.com/users/dreamcat4/following{/other_user}","gists_url":"https://api.github.com/users/dreamcat4/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamcat4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamcat4/subscriptions","organizations_url":"https://api.github.com/users/dreamcat4/orgs","repos_url":"https://api.github.com/users/dreamcat4/repos","events_url":"https://api.github.com/users/dreamcat4/events{/privacy}","received_events_url":"https://api.github.com/users/dreamcat4/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T06:50:08Z","updated_at":"2015-04-03T06:50:08Z","body":"I have fixed all the fifo / orphans I can now. It turns out cannot use s6 to auto-reap zombies because in PID namespace. As that indiscriminately kills all host processes too.\r\n\r\nThis remaining bug (when pipework stops responding, and does not stop) seems to be a bug with `docker events` output / hanging.\r\n\r\nhttps://github.com/docker/docker/issues/12023\r\n\r\nSo Fixing that docker issue ^^ should fix our problem."}}