{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/7214","labels_url":"https://api.github.com/repos/docker/docker/issues/7214/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/7214/comments","events_url":"https://api.github.com/repos/docker/docker/issues/7214/events","html_url":"https://github.com/docker/docker/issues/7214","id":38644366,"number":7214,"title":"Docker tty eats my newlines","user":{"login":"trickkiste","id":1325926,"avatar_url":"https://avatars.githubusercontent.com/u/1325926?v=3","gravatar_id":"","url":"https://api.github.com/users/trickkiste","html_url":"https://github.com/trickkiste","followers_url":"https://api.github.com/users/trickkiste/followers","following_url":"https://api.github.com/users/trickkiste/following{/other_user}","gists_url":"https://api.github.com/users/trickkiste/gists{/gist_id}","starred_url":"https://api.github.com/users/trickkiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trickkiste/subscriptions","organizations_url":"https://api.github.com/users/trickkiste/orgs","repos_url":"https://api.github.com/users/trickkiste/repos","events_url":"https://api.github.com/users/trickkiste/events{/privacy}","received_events_url":"https://api.github.com/users/trickkiste/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-07-24T15:41:23Z","updated_at":"2015-01-19T23:13:30Z","closed_at":"2015-01-19T23:13:30Z","body":"obecli is a docker container which starts a CLI that I want to send commands to from the host system. I initially created it with \"sudo docker run -i -t myuser/obecli\".\r\n\r\nThe following sequence works, when I do it with the native obecli process, but not with docker.\r\n\r\nsudo screen -m -d -S obe docker start -a obecli\r\nsudo screen -p 0 -S obe -X stuff $'set input decklink\\012'\r\n\r\nWhen i now do \"sudo screen -x obe\" I see obecli hung and not accepting any new input. No idea why. When I do that without docker, this stuff works just fine!!!\r\n\r\nThis does not work either:\r\nsudo tmux new -s obe -d \"docker start -a obecli\"\r\nsudo tmux send -t obe.0 \"set input decklink\" ENTER\r\nsudo tmux a -t obe\r\n\r\nSame result."}}