Merge pull request #28072 from Microsoft/jjh/api124

Windows: Allow API v1.24
Upstream-commit: 24d822d179df9a7ab668d280efbd64a8b1735fe2
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-11-04 11:57:42 -07:00
committed by GitHub

View File

@ -1,4 +1,8 @@
package api
// MinVersion represents Minimum REST API version supported
const MinVersion string = "1.25"
// Technically the first daemon API version released on Windows is v1.25 in
// engine version 1.13. However, some clients are explicitly using downlevel
// APIs (eg docker-compose v2.1 file format) and that is just too restrictive.
// Hence also allowing 1.24 on Windows.
const MinVersion string = "1.24"