Implement restart command (Closes #98)
Signed-off-by: Mark Steve Samson <hello@marksteve.com>
This commit is contained in:
parent
22f897ed09
commit
9d55e01e2a
4 changed files with 21 additions and 0 deletions
|
|
@ -117,6 +117,9 @@ class Container(object):
|
|||
def kill(self):
|
||||
return self.client.kill(self.id)
|
||||
|
||||
def restart(self):
|
||||
return self.client.restart(self.id)
|
||||
|
||||
def remove(self, **options):
|
||||
return self.client.remove_container(self.id, **options)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue