Docker Community Forums

Share and learn in the Docker community.

API version mismatch Docker-engine 1.11.1 and Swarm 1.2.2


(Kornzysiek) #1

Hi,
I “accidentally” upgraded my docker (used yum upgrade without thinking) on my virtual machine “sandbox” environment and now my docker swarm is saying the docker server version is older than client.

docker version

Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:42 2016
OS/Arch: linux/amd64

Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:42 2016
OS/Arch: linux/amd64

docker -H :4000 version

Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:42 2016
OS/Arch: linux/amd64

Server:
Version: swarm/1.2.2
API version: 1.22
Go version: go1.5.4
Git commit: 34e3da3
Built: Mon May 9 17:03:22 UTC 2016
OS/Arch: linux/amd64

AFAIK the 1.2.2 is the latest release, is there a way to fix this error without downgrading/reinstalling the system?