{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/6734","labels_url":"https://api.github.com/repos/docker/docker/issues/6734/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/6734/comments","events_url":"https://api.github.com/repos/docker/docker/issues/6734/events","html_url":"https://github.com/docker/docker/issues/6734","id":36683747,"number":6734,"title":"docker run exit code consisency","user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/improvement","name":"improvement","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/docker/labels/Runtime","name":"Runtime","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels/white-belt","name":"white-belt","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-06-27T16:41:53Z","updated_at":"2015-02-27T15:36:14Z","closed_at":null,"body":"I found other issues that talked about this but I did not find one that addressed it exactly.  \r\n\r\nThe problem is differentiating between an exit code from \r\n\r\ndocker run blowing up versus the command being run by docker run blowing up.\r\n\r\nWe could follow the chroot standard.\r\n  Exit status:\r\n\r\n     125 if 'chroot' itself fails\r\n     126 if COMMAND is found but cannot be invoked\r\n     127 if COMMAND cannot be found\r\n     the exit status of COMMAND otherwise\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/76413325","html_url":"https://github.com/docker/docker/issues/6734#issuecomment-76413325","issue_url":"https://api.github.com/repos/docker/docker/issues/6734","id":76413325,"user":{"login":"duglin","id":1944671,"avatar_url":"https://avatars.githubusercontent.com/u/1944671?v=3","gravatar_id":"","url":"https://api.github.com/users/duglin","html_url":"https://github.com/duglin","followers_url":"https://api.github.com/users/duglin/followers","following_url":"https://api.github.com/users/duglin/following{/other_user}","gists_url":"https://api.github.com/users/duglin/gists{/gist_id}","starred_url":"https://api.github.com/users/duglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duglin/subscriptions","organizations_url":"https://api.github.com/users/duglin/orgs","repos_url":"https://api.github.com/users/duglin/repos","events_url":"https://api.github.com/users/duglin/events{/privacy}","received_events_url":"https://api.github.com/users/duglin/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T15:36:14Z","updated_at":"2015-02-27T15:36:14Z","body":"@rhatdan let me know when you do start it - its still on my todo list too...."}}