Use unix-socket as communication channel
Signed-off-by: Alexander Morozov <lk4d4@docker.com> Signed-off-by: Michael Crosby <crosbymichael@gmail.com> Conflicts: ctr/container.go
This commit is contained in:
parent
e16dfc36a5
commit
ca4191ce41
6 changed files with 47 additions and 21 deletions
|
@ -14,7 +14,7 @@ var EventsCommand = cli.Command{
|
|||
Name: "events",
|
||||
Usage: "receive events from the containerd daemon",
|
||||
Action: func(context *cli.Context) {
|
||||
c := getClient()
|
||||
c := getClient(context)
|
||||
events, err := c.Events(netcontext.Background(), &types.EventsRequest{})
|
||||
if err != nil {
|
||||
fatal(err.Error(), 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue