Allow pulls from an insecure registry
Signed-off-by: Jason Bernardino Alonso <jalonso@luminoso.com>
This commit is contained in:
parent
5d76d183b4
commit
1c5194e2ec
3 changed files with 17 additions and 6 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue