Docker-Compose API too old for Windows

Posted rongfengliang-荣锋亮

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker-Compose API too old for Windows相关的知识,希望对你有一定的参考价值。

I was working on some code with a Docker Windows container today and ran into this error message:

ERROR: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version

What the heck is that?  When I go to the command-line and check the docker version, I get the following output:

My currently installed Docker version

I have the current beta track version of the Docker tools installed in my Windows 10 machine so that I can run a Windows container, so what gives?  Clearly 1.25 is more recent than 1.22

Here’s the catch:  the docker-compose file format has been versioned and we need to increment the version requested in our docker-compose.yml file.  In any docker-compose file that you are using with the 1.24 or later version of the Docker client, you should request version “2.1”

 

以上是关于Docker-Compose API too old for Windows的主要内容,如果未能解决你的问题,请参考以下文章

使用 statsmodels.formula.api 中的 ols - 如何删除常数项?

Python:多元线性回归:statsmodels.formula.api.ols()

scipy.stats.linregress、numpy.polynomial.polynomial.polyfit 和 statsmodels.api.OLS 之间的差异

Laravel Api 报错429 Too Many Attempts.

试图找到docker-compose远程API

openstack-glance-api.service start request repeated too quickly, refusing to start