{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/2793","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/2793/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/2793/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/2793/events","html_url":"https://github.com/mitchellh/packer/issues/2793","id":109362943,"number":2793,"title":"Docker file downloader truncates larger files","user":{"login":"cbednarski","id":649798,"avatar_url":"https://avatars.githubusercontent.com/u/649798?v=3","gravatar_id":"","url":"https://api.github.com/users/cbednarski","html_url":"https://github.com/cbednarski","followers_url":"https://api.github.com/users/cbednarski/followers","following_url":"https://api.github.com/users/cbednarski/following{/other_user}","gists_url":"https://api.github.com/users/cbednarski/gists{/gist_id}","starred_url":"https://api.github.com/users/cbednarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbednarski/subscriptions","organizations_url":"https://api.github.com/users/cbednarski/orgs","repos_url":"https://api.github.com/users/cbednarski/repos","events_url":"https://api.github.com/users/cbednarski/events{/privacy}","received_events_url":"https://api.github.com/users/cbednarski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/packer/labels/builder/docker","name":"builder/docker","color":"d4c5f9"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/provisioner/file","name":"provisioner/file","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-01T19:05:55Z","updated_at":"2015-10-06T17:13:12Z","closed_at":null,"body":"When downloading larger (50mb+) files from docker using the file provisioner, the files are sometimes truncated.\r\n\r\nI suspect this is a race condition but I have not yet assessed it."},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/145931049","html_url":"https://github.com/mitchellh/packer/issues/2793#issuecomment-145931049","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/2793","id":145931049,"user":{"login":"jedineeper","id":1553600,"avatar_url":"https://avatars.githubusercontent.com/u/1553600?v=3","gravatar_id":"","url":"https://api.github.com/users/jedineeper","html_url":"https://github.com/jedineeper","followers_url":"https://api.github.com/users/jedineeper/followers","following_url":"https://api.github.com/users/jedineeper/following{/other_user}","gists_url":"https://api.github.com/users/jedineeper/gists{/gist_id}","starred_url":"https://api.github.com/users/jedineeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedineeper/subscriptions","organizations_url":"https://api.github.com/users/jedineeper/orgs","repos_url":"https://api.github.com/users/jedineeper/repos","events_url":"https://api.github.com/users/jedineeper/events{/privacy}","received_events_url":"https://api.github.com/users/jedineeper/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T17:13:12Z","updated_at":"2015-10-06T17:13:12Z","body":"Hi guys, I reported this to @cbednarski initially, and I can repro this with the test case above?\r\n\r\nhttps://gist.github.com/jedineeper/ee4e2ce74f09964b2885\r\n\r\nUsing packer 0.8.6 on a relatively up to date Ubuntu 14.04 virtualbox vm running under Windows7 Pro?\r\n\r\n```\r\n$ docker version                                                                                              \r\nClient version: 1.7.1\r\nClient API version: 1.19\r\nGo version (client): go1.4.2\r\nGit commit (client): 786b29d\r\nOS/Arch (client): linux/amd64\r\nServer version: 1.7.1\r\nServer API version: 1.19\r\nGo version (server): go1.4.2\r\nGit commit (server): 786b29d\r\nOS/Arch (server): linux/amd64\r\n```\r\n"}}