adding "fig pull [SERVICE]" to pull service images
Fixes #158 Signed-off-by: Luke Amdor <luke.amdor@gmail.com>
This commit is contained in:
parent
dc857a7ad5
commit
e51851c884
4 changed files with 24 additions and 1 deletions
|
|
@ -176,6 +176,10 @@ class Project(object):
|
|||
|
||||
return running_containers
|
||||
|
||||
def pull(self, service_names=None):
|
||||
for service in self.get_services(service_names, include_links=True):
|
||||
service.pull()
|
||||
|
||||
def remove_stopped(self, service_names=None, **options):
|
||||
for service in self.get_services(service_names):
|
||||
service.remove_stopped(**options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue