Created
March 9, 2016 22:55
-
-
Save nori3tsu/015c33e2db5bc823c2de to your computer and use it in GitHub Desktop.
This is a patch to support the docker version 1.6.0 or greater for EB CLI 3.7.3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- compat.py.bk 2016-03-10 07:43:01.000000000 +0900 | |
+++ compat.py 2016-03-10 07:45:42.000000000 +0900 | |
@@ -29,7 +29,9 @@ def supported_docker_installed(): | |
""" | |
try: | |
- return commands.version() >= SUPPORTED_DOCKER_V | |
+ # return commands.version() >= SUPPORTED_DOCKER_V | |
+ from distutils.version import LooseVersion | |
+ return LooseVersion(commands.version()) >= LooseVersion(SUPPORTED_DOCKER_V) | |
# OSError = Not installed | |
# CommandError = docker versions less than 1.5 give exit code 1 | |
# with 'docker --version'. |
Author
nori3tsu
commented
Mar 9, 2016
The AWS forum thread for this is at:
https://forums.aws.amazon.com/message.jspa?messageID=701953
fwiw the path on my machine was
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/ebcli/containers/compat.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment