Sets tty in docker client back to true, as a potential fix for docker exec weirdness

This commit is contained in:
Preetha Appan 2017-11-05 09:44:55 -06:00
parent ec09009f7b
commit b15d8db851
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,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: false}
data := struct{ Detach, Tty bool }{Detach: false, Tty: true}
uri := fmt.Sprintf("/exec/%s/start", execID)
b, code, err := c.call("POST", uri, data)
switch {