New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttachToContainer - Content-Type error with 1.10 #455
Comments
|
Row 590 in this file: https://github.com/fsouza/go-dockerclient/blob/b3de6cfc437eb5bb97b5b28ed827bcdbd7860e22/client.go I think that should be changed to |
|
Confirmed. Changing line 590 fixes the problem. If there's a 1.10 branch I'd be happy to submit the fix myself...? |
|
@beetree do you know if using application/json in previous versions of the API work? If so, you can send the change right away. Otherwise we should provide a solution for supporting both |
|
No sorry, haven't tested that. |
|
No problem, I'm on it right now! :-) |
|
@beetree just pushed a fix for this issue, can you give it a try? Thanks! |
|
Confirmed, working. |
|
Of docker? The current dockerclient should work with both docker 1.9.1 and On Tue, Feb 9, 2016 at 9:59 AM, gopinatht notifications@github.com wrote:
|
|
@beetree: Aha, my mistake. I am seeing this error coming from the kubectl world and am not completely familiar with the go dockerclient. So I mistakenly thought this was a fix went directly into the docker. Apologies and thanks for the clarification. |
|
@gopinatht it should be fixed in the next version of Kubernetes as well. |
I have a setup using .AttachToContainer. After upgrading to Docker 1.10-rc2 I'm getting an error
Content-Type specified (plain/text) must be 'application/json'.Why am I getting this?
Any help would be great!
/beetree
The text was updated successfully, but these errors were encountered: