Pass through standard remove_container options
This commit is contained in:
parent
044c348faf
commit
5be8a37b7e
2 changed files with 5 additions and 4 deletions
|
|
@ -112,8 +112,7 @@ class Container(object):
|
|||
return self.client.kill(self.id)
|
||||
|
||||
def remove(self, **options):
|
||||
v = options.get('remove_volumes', False)
|
||||
return self.client.remove_container(self.id, v=v)
|
||||
return self.client.remove_container(self.id, **options)
|
||||
|
||||
def inspect_if_not_inspected(self):
|
||||
if not self.has_been_inspected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue