docker报Error response from daemon: client is newer than server (client API version: 1.24, server API

Posted Drutor

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker报Error response from daemon: client is newer than server (client API version: 1.24, server API相关的知识,希望对你有一定的参考价值。

docker version

Client:
Version: 17.05.0-ce
API version: 1.24 (downgraded from 1.29)
Go version: go1.7.5
Git commit: 89658be
Built: Fri May 5 15:36:11 2017
OS/Arch: linux/amd64
Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.19)

在网上找了一大堆方法测试,始终还是不行,而简单粗糙得办法是把docker client的api 接口改为1.19与服务段一致

export DOCKER_API_VERSION=1.19

docker version
Client:
Version: 17.05.0-ce
API version: 1.19
Go version: go1.7.5
Git commit: 89658be
Built: Fri May 5 15:36:11 2017
OS/Arch: linux/amd64

Server:
Version: 1.7.1
API version: 1.19 (minimum version )
Go version: go1.4.2
Git commit: 786b29d/1.7.1
Built:
OS/Arch: linux/amd64
Experimental: false

测试ok






















以上是关于docker报Error response from daemon: client is newer than server (client API version: 1.24, server API的主要内容,如果未能解决你的问题,请参考以下文章

docker容器启动报错:Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/dd

docker容器启动报错:Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/dd

docker进入容器报:Error response from daemon Container is not running

Docker查看日志报错Error response from daemon: configured logging driver does not support reading

Error response from daemon ... no space left on device docker启动容器服务报错

Docker pull拉取镜像报错“Error response from daemon: Get “https://registry-1.docker.io/v2”解决办法