diff --git a/services/docker.go b/services/docker.go index 9fd57da..9ee8894 100644 --- a/services/docker.go +++ b/services/docker.go @@ -71,6 +71,12 @@ func AttachExecConnection(execId string, ctx context.Context) (*types.HijackedRe return nil, err } + err = c.ContainerExecResize(ctx, execId, types.ResizeOptions{Height: 24, Width: 80}) + + if err != nil { + return nil, err + } + return &conn, nil }