diff options
author | Joffrey F <joffrey@docker.com> | 2016-02-10 16:35:27 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2016-02-11 15:20:32 -0800 |
commit | 79f993f52c9c2a358c48a9d0aea46fe832e7b167 (patch) | |
tree | 63efd07b0aff6dc1164e8a85022a398ee5519c4e /compose/const.py | |
parent | 830a9fc118ce22ef0536589a6b7f5055f2af2d4a (diff) |
Detailed error message when daemon version is too old.
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'compose/const.py')
-rw-r--r-- | compose/const.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compose/const.py b/compose/const.py index 0e307835..db5e2fb4 100644 --- a/compose/const.py +++ b/compose/const.py @@ -22,3 +22,8 @@ API_VERSIONS = { COMPOSEFILE_V1: '1.21', COMPOSEFILE_V2_0: '1.22', } + +API_VERSION_TO_ENGINE_VERSION = { + API_VERSIONS[COMPOSEFILE_V1]: '1.9.0', + API_VERSIONS[COMPOSEFILE_V2_0]: '1.10.0' +} |