{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/12469","labels_url":"https://api.github.com/repos/docker/docker/issues/12469/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/12469/comments","events_url":"https://api.github.com/repos/docker/docker/issues/12469/events","html_url":"https://github.com/docker/docker/issues/12469","id":69071324,"number":12469,"title":"\"cannot enable tty mode on non tty input\" in Cygwin in Windows","user":{"login":"elrac","id":4564119,"avatar_url":"https://avatars.githubusercontent.com/u/4564119?v=3","gravatar_id":"","url":"https://api.github.com/users/elrac","html_url":"https://github.com/elrac","followers_url":"https://api.github.com/users/elrac/followers","following_url":"https://api.github.com/users/elrac/following{/other_user}","gists_url":"https://api.github.com/users/elrac/gists{/gist_id}","starred_url":"https://api.github.com/users/elrac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elrac/subscriptions","organizations_url":"https://api.github.com/users/elrac/orgs","repos_url":"https://api.github.com/users/elrac/repos","events_url":"https://api.github.com/users/elrac/events{/privacy}","received_events_url":"https://api.github.com/users/elrac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/windows","name":"group/windows","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2015-04-17T06:17:49Z","updated_at":"2015-08-07T21:29:43Z","closed_at":null,"body":"When attempting to run docker in Cygwin(Babun) in Windows if the command uses the -t flag I receive the message:\r\n\r\n    >>docker run -ti ubuntu bash\r\n    time=\"2015-04-16T22:49:12-07:00\" level=fatal msg=\"cannot enable tty mode on non tty input\"\r\n\r\nit seems like it isn't correctly passing the -t option to the underlying ssh call, but I don't know why that would be seeing as the ssh installed with git seems to have the same arguments as the one installed with Babun."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/128837729","html_url":"https://github.com/docker/docker/issues/12469#issuecomment-128837729","issue_url":"https://api.github.com/repos/docker/docker/issues/12469","id":128837729,"user":{"login":"bobfields","id":2707087,"avatar_url":"https://avatars.githubusercontent.com/u/2707087?v=3","gravatar_id":"","url":"https://api.github.com/users/bobfields","html_url":"https://github.com/bobfields","followers_url":"https://api.github.com/users/bobfields/followers","following_url":"https://api.github.com/users/bobfields/following{/other_user}","gists_url":"https://api.github.com/users/bobfields/gists{/gist_id}","starred_url":"https://api.github.com/users/bobfields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobfields/subscriptions","organizations_url":"https://api.github.com/users/bobfields/orgs","repos_url":"https://api.github.com/users/bobfields/repos","events_url":"https://api.github.com/users/bobfields/events{/privacy}","received_events_url":"https://api.github.com/users/bobfields/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T21:29:43Z","updated_at":"2015-08-07T21:29:43Z","body":"This is an issue when running 'docker -it' command (interactive terminal) when attempting to debug a Dockerfile. Yes we can use the host OS instead of the cygwin/Babun tty terminal, but most/all of the docs written for docker assume a Linux prompt/terminal. Is there a $TERM setting which will work correctly?"}}