Skip to content

ERROR: client is newer than server (client API version: 1.22, server API version: 1.21) #2798

@wil93

Description

@wil93

After installing the right version of docker-py (for the latest docker-compose):

ioi@cms:~$ pip list | grep docker
docker-compose (1.6.0rc2)
docker-py (1.7.0-rc3)
dockerpty (0.3.4)

I now get this error:

ioi@cms:~/server$ docker-compose ps
ERROR: client is newer than server (client API version: 1.22, server API version: 1.21)

Even though:

ioi@cms:~/server$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   a34a1d5
 Built:        Fri Nov 20 13:12:04 UTC 2015
 OS/Arch:      linux/amd64

What could be the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions