Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker error: client and server don't have same version

Since I just updated Docker to 1.1.0 I get:

Error response from daemon: client and server don't have same version (client : 1.13, server: 1.12)

Do you know how to fix this?

I switched back to 1.0.1 and everything works again.

like image 436
soenke Avatar asked Jul 05 '14 12:07

soenke


People also ask

How do I fix incompatible Docker API and client versions?

Resetting the “DOCKER_API_VERSION” variable can fix an error when the Docker client is not running the same version as the incompatible Docker API. Read this discussion of solving incompatible Docker API and client .

What to do if client and server don’t have same version?

The “COMPOSE_API_VERSION” environment variable can be used when Docker shows the “client and server don’t have same version” error. Because of the mismatch between servers, some Docker features may not be supported. This workaround is not officially supported.

What is compose_API_version in Docker?

COMPOSE_API_VERSION “COMPOSE_API_VERSION” can be used if you cannot immediately upgrade the server version. The “COMPOSE_API_VERSION” environment variable can be used when Docker shows the “client and server don’t have same version” error.

Why can’t I connect to Docker on a corporate network?

If Docker is installed on a system using a corporate network using an HTTP proxy, there may be connectivity errors. The “HTTP_PROXY” environment variable is case sensitive.


1 Answers

It looks like you need to upgrade the VM after installing boot2docker:

if you are upgrading from boot2docker 0.12 or later, you can update your existing virtual machine (after upgrading using the installer) using boot2docker stop && boot2docker download && boot2docker up - and you will not lose your existing data.

(https://github.com/boot2docker/osx-installer/releases/tag/v1.1.0)

like image 182
Abel Muiño Avatar answered Nov 15 '22 23:11

Abel Muiño