commit
20b96a3d35
3 changed files with 8 additions and 8 deletions
|
@ -214,7 +214,7 @@ $ sudo ctr containers start redis /containers/redis
|
|||
```
|
||||
$ ctr containers kill -h
|
||||
NAME:
|
||||
kill - send a signal to a container or it's processes
|
||||
kill - send a signal to a container or its processes
|
||||
|
||||
USAGE:
|
||||
command kill [command options] [arguments...]
|
||||
|
|
|
@ -241,7 +241,7 @@ func attachStdio(stdins, stdout, stderr *string) error {
|
|||
|
||||
var KillCommand = cli.Command{
|
||||
Name: "kill",
|
||||
Usage: "send a signal to a container or it's processes",
|
||||
Usage: "send a signal to a container or its processes",
|
||||
Flags: []cli.Flag{
|
||||
cli.IntFlag{
|
||||
Name: "pid,p",
|
||||
|
|
|
@ -87,7 +87,7 @@ type Container interface {
|
|||
Path() string
|
||||
// Pid returns the container's init process id
|
||||
Pid() (int, error)
|
||||
// SetExited sets the exit status of the container after it's init dies
|
||||
// SetExited sets the exit status of the container after its init dies
|
||||
SetExited(status int)
|
||||
// Delete deletes the container
|
||||
Delete() error
|
||||
|
|
Loading…
Reference in a new issue