{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/18543","labels_url":"https://api.github.com/repos/docker/docker/issues/18543/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/18543/comments","events_url":"https://api.github.com/repos/docker/docker/issues/18543/events","html_url":"https://github.com/docker/docker/issues/18543","id":121300939,"number":18543,"title":"docker run -i -a stdin hanging","user":{"login":"Benjamin-Dobell","id":482276,"avatar_url":"https://avatars.githubusercontent.com/u/482276?v=3","gravatar_id":"","url":"https://api.github.com/users/Benjamin-Dobell","html_url":"https://github.com/Benjamin-Dobell","followers_url":"https://api.github.com/users/Benjamin-Dobell/followers","following_url":"https://api.github.com/users/Benjamin-Dobell/following{/other_user}","gists_url":"https://api.github.com/users/Benjamin-Dobell/gists{/gist_id}","starred_url":"https://api.github.com/users/Benjamin-Dobell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benjamin-Dobell/subscriptions","organizations_url":"https://api.github.com/users/Benjamin-Dobell/orgs","repos_url":"https://api.github.com/users/Benjamin-Dobell/repos","events_url":"https://api.github.com/users/Benjamin-Dobell/events{/privacy}","received_events_url":"https://api.github.com/users/Benjamin-Dobell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-09T17:44:12Z","updated_at":"2015-12-09T19:48:54Z","closed_at":null,"body":"I've just updated to the latest Docker (1.9.1) and `docker run -a -a stdin <image> <command>` is hanging 100% of the time on my machine.\r\n\r\nDocker prints the container ID and the container shuts down when the command completes, but the docker process itself hangs around. This is breaking a *lot* of scripts.\r\n\r\nI'm assuming this is a somewhat isolated case, because imagine this would cause huge problems for everyone if it wasn't limited to something to do with my setup.\r\n\r\n3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\nUbuntu 14.04\r\nLinode - But we're running a generic kernel thanks to KVM and Grub 2 (rather than the outdated Linode provided kernel).\r\n\r\nAny suggestions on how I can try identify the root cause?"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/163370747","html_url":"https://github.com/docker/docker/issues/18543#issuecomment-163370747","issue_url":"https://api.github.com/repos/docker/docker/issues/18543","id":163370747,"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":"2015-12-09T19:48:54Z","updated_at":"2015-12-09T19:48:54Z","body":"What if you don't do `-a stdin`?\r\n\r\nI'll have a look at this to see what might be causing it.\r\nThe command should not hang waiting for stdin."}}