Merge pull request #393 from marksteve/restart

Implement restart command (Closes #98)
This commit is contained in:
Ben Firshman 2014-09-08 17:47:08 +01:00
commit ce8ef23c09
5 changed files with 37 additions and 0 deletions

View file

@ -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)