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

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

问题描述

使用 Docker Machine 创建新机器后,出现以下错误:

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>

会解决问题.这可能会发生 - 就像对我一样 - 即使您没有使用 RC 并且您的机器是新创建的.这将是由于 ISO 缓存问题.这个线程中对该错误进行了注释.

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.

如果 docker 客户端是 1.9.x,而服务器运行的是 docker 1.8.x,观察到错误消息.

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天全站免登陆