docker: do not alloc a tty since this is not interactive

pull/3621/head
Frank Schroeder 7 years ago
parent a1b47d99c1
commit 94726ef105
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD

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

Loading…
Cancel
Save