curl partial file error
This might be a problem with my setup, but I wanted to log it here in case its related to this gem's use of curl. About half the time, commands sent from the rails host to the docker host will fail with
PartialFileError: #<Curl::Err::PartialFileError: Curl::Err::PartialFileError>
The two hosts are on the same ethernet switch so no Internet connectivity problems there. I'd be interested to hear if others have run into this. thanks!
I never encountered that error. My setup consist of a Mac where I run docker-client and Vagrant with Ubuntu 13.04. So network is only virtual ...
Is the error somehow reproducible? And does it happen only with streaming responsens (container.attach) or in general with normal POST/GET requests as well?
Maybe you could simulate the situation with the curl command line tool to check if it is docker-client or your Network/docker API? An another option I see is to use another Ruby curl wrapper library instead of Curb.