Skip to content

Commit

Permalink
set TERM=xterm on execs to work around docker issue 9299
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbellamy committed Feb 17, 2016
1 parent 611f933 commit 72db24d
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{"/usr/bin/env", "TERM=xterm", "/bin/sh", "-l"},
Container: containerID,
})
if err != nil {
Expand Down

0 comments on commit 72db24d

Please sign in to comment.