Skip to content
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

Error: Multipart upload for build is no longer supported. Please upgrade your docker client. #4652

Closed
pliske opened this issue Mar 13, 2014 · 2 comments

Comments

@pliske
Copy link

pliske commented Mar 13, 2014

I am following the Build file tutorial on a Mac (OSX 10.9.2)
(https://www.docker.io/learn/dockerfile/level1/)

at the point where I try to build, I get this error:

$ docker build .
Uploading context 5.632 kB
Uploading context 
2014/03/13 13:59:17 Error: Multipart upload for build is no longer supported. Please upgrade your docker client.
$ docker version
Client version: 0.9.0
Go version (client): go1.2.1
Git commit (client): 2b3fdf2
Server version: 0.8.1
Git commit (server): a1598d1
Go version (server): go1.2
@creack
Copy link
Contributor

creack commented Mar 13, 2014

This is expected. The version comparison was 'dumb' in 0.8.1. You will not have the issue once you update the server to 0.9.0 and later releases.
Since we are now in version 1.10, the 0.8.1 server thinks 1.10 is less than 1.3.

@creack creack closed this as completed Mar 13, 2014
@pliske
Copy link
Author

pliske commented Mar 13, 2014

Thanks...

You will not have the issue once you update the server to 0.9.0 and later releases.
Thanks...I was not sure how to do that, but I ended up running:

$ boot2docker  stop
$ boot2docker download
$ boot2docker delete
$ boot2docker init

And now I appear to have the server and client at the same version:

$ docker version
Client version: 0.9.0
Go version (client): go1.2.1
Git commit (client): 2b3fdf2
Server version: 0.9.0
Git commit (server): 2b3fdf2
Go version (server): go1.2.1

I reran the build and it worked smoothly.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants