Implement kill and rm
This commit is contained in:
parent
a4710fa9e1
commit
81093627fe
4 changed files with 51 additions and 0 deletions
|
|
@ -74,6 +74,14 @@ class Project(object):
|
|||
for service in self.services:
|
||||
service.stop(**options)
|
||||
|
||||
def kill(self, **options):
|
||||
for service in self.services:
|
||||
service.kill(**options)
|
||||
|
||||
def remove_stopped(self, **options):
|
||||
for service in self.services:
|
||||
service.remove_stopped(**options)
|
||||
|
||||
def containers(self, *args, **kwargs):
|
||||
l = []
|
||||
for service in self.services:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue