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

client API version: 1.20, server API version: 1.19 #92

Closed
mlhamel opened this issue Oct 19, 2015 · 5 comments
Closed

client API version: 1.20, server API version: 1.19 #92

mlhamel opened this issue Oct 19, 2015 · 5 comments

Comments

@mlhamel
Copy link

mlhamel commented Oct 19, 2015

Whenever I'm trying to docker build i've got this error:

Error response from daemon: client is newer than server (client API version: 1.20, server API version: 1.19)

It seems something is out of sync and dinghy up/destroy/upgrade don't seems to work

@mlhamel
Copy link
Author

mlhamel commented Oct 19, 2015

Found a couple of reference to the same kind of bug:

docker/kitematic#875

Seems to be related to boot2docker but still unsure how to fix it... :(

@codekitchen
Copy link
Owner

This means your version of docker-machine is older than your version of docker. If you're using Docker Toolbox you'll have to upgrade that, but if you are just using homebrew to install them, a brew up && brew upgrade docker-machine && dinghy upgrade should do it.

I've been wanting to add some code to dinghy to detect version problems and suggest how to fix, but haven't gotten a chance yet.

@mlhamel
Copy link
Author

mlhamel commented Oct 19, 2015

super strange, i'm using only homebrew but by upgrading everything it doesn't work.

what did worked althought, i've discovered in /usr/local/var/dinghy/vagrant/VagrantFile the box version was completely out-of-date:

config.vm.box_version = "1.7.1.rev1"

I changed it to the latest version (1.8.2) and now it work. I'm just wondering why this file was not upgraded by doing dinghy upgrade. Any idea ?

@codekitchen
Copy link
Owner

Oh, you are on a pretty old version of dinghy, OK. About 2 months ago dinghy switched to using docker-machine and doesn't even use Vagrant anymore, I was referring to that new setup. That makes sense then.

I'd recommend upgrading when you get a chance, I won't be releasing any versions of the Vagrant image newer than 1.8.2.

@mlhamel
Copy link
Author

mlhamel commented Oct 19, 2015

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