mirror of https://github.com/status-im/consul.git
Sets tty in docker client back to true, as a potential fix for docker exec weirdness
This commit is contained in:
parent
ec09009f7b
commit
b15d8db851
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue