set terminal in character mode when attached to a container

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-03-24 15:37:08 +01:00
parent 9f81314124
commit d4a8e92f46
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
5 changed files with 44 additions and 14 deletions

View file

@ -181,8 +181,8 @@ type RunOptions struct {
Entrypoint []string
Detach bool
AutoRemove bool
Writer io.Writer
Reader io.Reader
Writer io.WriteCloser
Reader io.ReadCloser
Tty bool
WorkingDir string
User string