{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/8513","labels_url":"https://api.github.com/repos/docker/docker/issues/8513/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/8513/comments","events_url":"https://api.github.com/repos/docker/docker/issues/8513/events","html_url":"https://github.com/docker/docker/issues/8513","id":45547971,"number":8513,"title":"docker outputs to standard out with added carriage return character","user":{"login":"itsafire","id":2641417,"avatar_url":"https://avatars.githubusercontent.com/u/2641417?v=3","gravatar_id":"","url":"https://api.github.com/users/itsafire","html_url":"https://github.com/itsafire","followers_url":"https://api.github.com/users/itsafire/followers","following_url":"https://api.github.com/users/itsafire/following{/other_user}","gists_url":"https://api.github.com/users/itsafire/gists{/gist_id}","starred_url":"https://api.github.com/users/itsafire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsafire/subscriptions","organizations_url":"https://api.github.com/users/itsafire/orgs","repos_url":"https://api.github.com/users/itsafire/repos","events_url":"https://api.github.com/users/itsafire/events{/privacy}","received_events_url":"https://api.github.com/users/itsafire/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-10-11T10:35:24Z","updated_at":"2015-02-26T05:40:52Z","closed_at":"2015-02-26T05:14:41Z","body":"Running `docker run -ti --rm ubuntu:12.04 cat /etc/passwd >passwd.txt` will result in a passwd file with added carriage return character at the end of each line. What is the rationale of this behavior ? Or is this to be considered a bug ?\r\n\r\nMy current Docker environment is:\r\n\r\n```\r\ndocker@thor:~$ docker info\r\nContainers: 4\r\nImages: 179\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Dirs: 187\r\nExecution Driver: native-0.2\r\nKernel Version: 3.14.0-2-amd64\r\nOperating System: Debian GNU/Linux jessie/sid\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/76125496","html_url":"https://github.com/docker/docker/issues/8513#issuecomment-76125496","issue_url":"https://api.github.com/repos/docker/docker/issues/8513","id":76125496,"user":{"login":"jfrazelle","id":1445228,"avatar_url":"https://avatars.githubusercontent.com/u/1445228?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrazelle","html_url":"https://github.com/jfrazelle","followers_url":"https://api.github.com/users/jfrazelle/followers","following_url":"https://api.github.com/users/jfrazelle/following{/other_user}","gists_url":"https://api.github.com/users/jfrazelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrazelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrazelle/subscriptions","organizations_url":"https://api.github.com/users/jfrazelle/orgs","repos_url":"https://api.github.com/users/jfrazelle/repos","events_url":"https://api.github.com/users/jfrazelle/events{/privacy}","received_events_url":"https://api.github.com/users/jfrazelle/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T05:40:52Z","updated_at":"2015-02-26T05:40:52Z","body":"ya checkout my comment here https://github.com/docker/docker/issues/8513#issuecomment-76123655"}}