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
|
|
@ -180,9 +180,9 @@ class Project(object):
|
|||
|
||||
return running_containers
|
||||
|
||||
def pull(self, service_names=None):
|
||||
def pull(self, service_names=None, insecure_registry=False):
|
||||
for service in self.get_services(service_names, include_links=True):
|
||||
service.pull()
|
||||
service.pull(insecure_registry=insecure_registry)
|
||||
|
||||
def remove_stopped(self, service_names=None, **options):
|
||||
for service in self.get_services(service_names):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue