Docker-compose API too old for Windows

Source: Internet
Author: User
Tags docker windows container

I was working on some code with a Docker Windows container today and ran to 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's the heck is? 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, version of the Docker tools installed in my Windows ten machine so I can run a Windows c  Ontainer, so what gives? Clearly 1.25 is more recent than 1.22

Here's the catch:the docker-compose file format has a been versioned and we need to increment the version requested in our  DOCKER-COMPOSE.YML file. In any docker-compose file that is using with the 1.24 or later version of the Docker client, you should request vers Ion "2.1"

Docker-compose API too old for Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.