docker: do not alloc a tty since this is not interactive
This commit is contained in:
parent
b1a5a6b64d
commit
0a9d2a367e
|
@ -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…
Reference in New Issue