diff --git a/probe/docker/controls.go b/probe/docker/controls.go index 293bc36eed..357e3a094e 100644 --- a/probe/docker/controls.go +++ b/probe/docker/controls.go @@ -99,7 +99,7 @@ func (r *registry) execContainer(containerID string, req xfer.Request) xfer.Resp AttachStdout: true, AttachStderr: true, Tty: true, - Cmd: []string{"/bin/sh"}, + Cmd: []string{"/bin/sh", "-c", "TERM=xterm exec /bin/sh"}, Container: containerID, }) if err != nil {