From 0a9d2a367ee21c1968b1833ce2f674352cefe717 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Thu, 26 Oct 2017 11:56:54 +0200 Subject: [PATCH] docker: do not alloc a tty since this is not interactive --- agent/checks/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/checks/docker.go b/agent/checks/docker.go index 809a07252..c3cddd646 100644 --- a/agent/checks/docker.go +++ b/agent/checks/docker.go @@ -151,7 +151,7 @@ func (c *DockerClient) CreateExec(containerID string, cmd []string) (string, err } func (c *DockerClient) StartExec(containerID, execID string) (*circbuf.Buffer, error) { - data := struct{ Detach, Tty bool }{Detach: false, Tty: true} + data := struct{ Detach, Tty bool }{Detach: false, Tty: false} uri := fmt.Sprintf("/exec/%s/start", execID) b, code, err := c.call("POST", uri, data) switch {