Perform all operations against stopped containers

This commit is contained in:
Ben Firshman 2013-12-17 12:09:45 +00:00
parent 6abec85703
commit accc1a219a
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class Service(object):
@property
def containers(self):
return [c for c in self.client.containers() if parse_name(get_container_name(c))[0] == self.name]
return [c for c in self.client.containers(all=True) if parse_name(get_container_name(c))[0] == self.name]
def start(self):
if len(self.containers) == 0: