Merge pull request #490 from LuminosoInsight/insecure-pull

Allow pulls from an insecure registry
This commit is contained in:
Aanand Prasad 2014-10-01 10:52:54 -07:00
commit 431fdaa0f1
5 changed files with 25 additions and 7 deletions

View file

@ -213,9 +213,17 @@ class TopLevelCommand(Command):
"""
Pulls images for services.
Usage: pull [SERVICE...]
Usage: pull [options] [SERVICE...]
Options:
--allow-insecure-ssl Allow insecure connections to the docker
registry
"""
project.pull(service_names=options['SERVICE'])
insecure_registry = options['--allow-insecure-ssl']
project.pull(
service_names=options['SERVICE'],
insecure_registry=insecure_registry
)
def rm(self, project, options):
"""