mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
set TERM=xterm on execs to work around docker issue 9299
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user