我的系统是Ubuntu14.04 原来是Docker1.6 现在升级为Docker 1.7
$uname -a
Linux whw-virtual-machine 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
我的看的是官方的upgrade 的方法: https://docs.docker.com/installation/ubuntulinux/
Upgrade Docker
To install the latest version of Docker with wget:
$ wget -qO- https://get.docker.com/ | sh
结果显示报错:
$docker images
Error response from daemon: client and server don't have same version (client : 1.19, server: 1.18)
OK, this problem was solved later. Just restart it. I restarted the computer directly. . . I haven’t tried restarting Docker
Looking at the output, it seems that the client and server versions are inconsistent, causing the error. You just need to upgrade the docker engine to 1.9