{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/10314","labels_url":"https://api.github.com/repos/docker/docker/issues/10314/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/10314/comments","events_url":"https://api.github.com/repos/docker/docker/issues/10314/events","html_url":"https://github.com/docker/docker/issues/10314","id":55337465,"number":10314,"title":"Copied files contains ^M after each line","user":{"login":"noonedoes","id":10437031,"avatar_url":"https://avatars.githubusercontent.com/u/10437031?v=3","gravatar_id":"","url":"https://api.github.com/users/noonedoes","html_url":"https://github.com/noonedoes","followers_url":"https://api.github.com/users/noonedoes/followers","following_url":"https://api.github.com/users/noonedoes/following{/other_user}","gists_url":"https://api.github.com/users/noonedoes/gists{/gist_id}","starred_url":"https://api.github.com/users/noonedoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noonedoes/subscriptions","organizations_url":"https://api.github.com/users/noonedoes/orgs","repos_url":"https://api.github.com/users/noonedoes/repos","events_url":"https://api.github.com/users/noonedoes/events{/privacy}","received_events_url":"https://api.github.com/users/noonedoes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T21:48:30Z","updated_at":"2015-01-23T21:52:23Z","closed_at":null,"body":"docker version:\r\nClient version: 1.4.1\r\nClient API version: 1.16\r\nGo version (client): go1.3.3\r\nGit commit (client): 5bc2ff8\r\nOS/Arch (client): linux/amd64\r\nServer version: 1.4.1\r\nServer API version: 1.16\r\nGo version (server): go1.3.3\r\nGit commit (server): 5bc2ff8\r\n\r\nusing the COPY command, I defined the following file to be copied over to the container:\r\n\r\nCOPY /src/start $HOME/\r\n\r\nThe start file is a bash script and is fine on the creating filesystem.  When I VI the file, at the end of each line there is a ^M character.\r\n\r\n#!/bin/bash^M\r\necho $HOSTNAME^M\r\n\r\nThis happens for individual files copied over and for entire directories.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/71272738","html_url":"https://github.com/docker/docker/issues/10314#issuecomment-71272738","issue_url":"https://api.github.com/repos/docker/docker/issues/10314","id":71272738,"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-01-23T21:52:23Z","updated_at":"2015-01-23T21:52:23Z","body":"seems like your file might have some sort of non utf encoding in it or something?"}}