Comment 10 for bug 1574904

Revision history for this message
Jonathan Lange (jml) wrote : Re: Docker compiled with wrong version of Go

At mwhudson's request I'm testing this on a xenial server using the packages in ppa:mwhudson/devirt.

* set up a clean 16.04 machine and reproduced the failures I saw with weave
* added ppa:mwhudson/devirt & changed 'xenial' to 'yakkety'
* apt-get upgrade, then:

$ sudo apt-get install docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  containerd runc
Suggested packages:
  aufs-tools debootstrap lxc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
  containerd runc
The following packages will be upgraded:
  docker.io

Now, I get::

$ docker version
Client:
 Version: 1.11.2
 API version: 1.23
 Go version: go1.6.2
 Git commit: b9f10c9
 Built: Thu, 09 Jun 2016 20:37:27 +1200
 OS/Arch: linux/amd64
Error response from daemon: client is newer than server (client API version: 1.23, server API version: 1.22)

Manually restarting docker (sudo systemctl restart docker) seems to work around the problem.

The installation process also seemed to override my local changes to /etc/systemd/system/multi-user.target.wants/docker.service

However, after these things, when using the new docker.io package, I could no longer observe the problems I saw with weave. Success!