From 1385ad8b008cbd1e0e22f915ad420bad360885d5 Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 20 Sep 2016 12:01:04 -0700 Subject: [PATCH] Revert Box from HostConfig Signed-off-by: John Howard --- command/container/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/container/run.go b/command/container/run.go index a167e78f9a..d36ab610cf 100644 --- a/command/container/run.go +++ b/command/container/run.go @@ -135,7 +135,7 @@ func runRun(dockerCli *command.DockerCli, flags *pflag.FlagSet, opts *runOptions // a far better user experience rather than relying on subsequent resizes // to cause things to catch up. if runtime.GOOS == "windows" { - hostConfig.ConsoleSize.Height, hostConfig.ConsoleSize.Width = dockerCli.Out().GetTtySize() + hostConfig.ConsoleSize[0], hostConfig.ConsoleSize[1] = dockerCli.Out().GetTtySize() } ctx, cancelFun := context.WithCancel(context.Background())