Merge pull request #393 from marksteve/restart
Implement restart command (Closes #98)
This commit is contained in:
commit
ce8ef23c09
5 changed files with 37 additions and 0 deletions
|
|
@ -123,6 +123,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