Created
February 3, 2014 06:24
-
-
Save sou/8779598 to your computer and use it in GitHub Desktop.
mesos-docker patch
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
--- docker.orig 2014-02-03 14:49:24.816807211 +0900 | |
+++ docker 2014-02-03 14:50:24.344805977 +0900 | |
@@ -253,7 +253,7 @@ | |
log.warning('Too many ports were allocated to this image.') | |
break | |
cmd += [ '-p', '%d:%d' % (allocated, target) ] | |
- argv = ['docker'] + docker_opts + cmd + [ image ] + [ arg for arg in args ] | |
+ argv = ['docker-run'] + docker_opts + cmd + [ image ] + [ arg for arg in args ] | |
log.info('ARGV ' + ' '.join(str(arg) for arg in argv)) | |
return subprocess.Popen(argv) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment