diff --git a/pkg/container/docker_run.go b/pkg/container/docker_run.go index 2670469..87f9f11 100644 --- a/pkg/container/docker_run.go +++ b/pkg/container/docker_run.go @@ -456,13 +456,6 @@ func (cr *containerReference) exec(cmd []string, env map[string]string, user str errWriter = os.Stderr } - err = cr.cli.ContainerExecStart(ctx, idResp.ID, types.ExecStartCheck{ - Tty: isTerminal, - }) - if err != nil { - return errors.WithStack(err) - } - if !isTerminal || os.Getenv("NORAW") != "" { _, err = stdcopy.StdCopy(outWriter, errWriter, resp.Reader) } else {