Skip to content

Commit

Permalink
Merge pull request #969 from weaveworks/759-term-env-var
Browse files Browse the repository at this point in the history
set TERM=xterm on execs to work around docker issue 9299
  • Loading branch information
paulbellamy committed Feb 19, 2016
2 parents e6b60e3 + e49d1a7 commit 38653c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probe/docker/controls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 38653c4

Please sign in to comment.