Add signal in the kill CLI commando to send a specific signal to the service
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
This commit is contained in:
parent
cb275b8633
commit
9abdd337b5
4 changed files with 48 additions and 5 deletions
|
|
@ -124,8 +124,8 @@ class Container(object):
|
|||
def stop(self, **options):
|
||||
return self.client.stop(self.id, **options)
|
||||
|
||||
def kill(self):
|
||||
return self.client.kill(self.id)
|
||||
def kill(self, **options):
|
||||
return self.client.kill(self.id, **options)
|
||||
|
||||
def restart(self):
|
||||
return self.client.restart(self.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue