Docker - 守护程序的错误响应:客户端比服务器更新 [英] Docker - Error response from daemon: client is newer than server

查看:232
本文介绍了Docker - 守护程序的错误响应:客户端比服务器更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Docker Machine创建新机器后,我收到以下错误:



  $ docker ps 
守护进程的错误响应:客户端比服务器更新(客户端API版本1.21,服务器API版本:1.19)

我如何解决这个问题?

解决方案>

  docker-machine upgrade< your-machine> 

会做的诀窍。这可能会发生 - 就像对我来说 - 即使你没有使用RC,你的机器是新创建的。这将是由于ISO缓存问题。该错误在此主题中发表评论。


如果docker客户端是1.9.x,并且服务器正在运行docker 1.8.x,则
会观察到错误消息。



After creating a new machine with Docker Machine, I'm getting the following error:

$ docker ps
Error response from daemon: client is newer than server(client API version 1.21, server API version: 1.19)

How can I fix this?

解决方案

docker-machine upgrade <your-machine>

will do the trick. This can happen - as it did for me - even if you're not using RCs and your machine was newly created. It would be due to an ISO cache issue. The error is commented in this thread.

If the docker client is 1.9.x and the server is running docker 1.8.x, the error message is observed.

这篇关于Docker - 守护程序的错误响应:客户端比服务器更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆