Allow pulls from an insecure registry

Signed-off-by: Jason Bernardino Alonso <jalonso@luminoso.com>
This commit is contained in:
Jason Bernardino Alonso 2014-09-18 15:37:52 -04:00
commit 1c5194e2ec
3 changed files with 17 additions and 6 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):
"""