use docker/cli RunExec and RunStart to handle all the interactive/tty/* terminal logic

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2022-03-09 17:52:30 +01:00 committed by Nicolas De loof
parent d999c230a5
commit 1d4b4e3c8e
8 changed files with 49 additions and 310 deletions

View file

@ -216,6 +216,7 @@ type RunOptions struct {
Detach bool
AutoRemove bool
Tty bool
Interactive bool
WorkingDir string
User string
Environment []string