码迷,mamicode.com
首页 > Windows程序 > 详细

Docker-Compose API too old for Windows

时间:2017-03-10 21:02:18      阅读:254      评论:0      收藏:0      [点我收藏+]

标签:indent   one   new   following   check   mac   int   ini   when   

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

标签:indent   one   new   following   check   mac   int   ini   when   

原文地址:http://www.cnblogs.com/rongfengliang/p/6532850.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!