mirror of
https://github.com/rancher/os.git
synced 2025-07-14 15:14:03 +00:00
Merge pull request #1030 from joshwget/remove-second-exec-start
Remove second exec start in User Docker
This commit is contained in:
commit
0392f124cf
@ -162,12 +162,6 @@ func startDocker(cfg *config.CloudConfig) (string, types.HijackedResponse, error
|
||||
return "", types.HijackedResponse{}, err
|
||||
}
|
||||
|
||||
if err := client.ContainerExecStart(context.Background(), resp.ID, types.ExecStartCheck{
|
||||
Detach: false,
|
||||
}); err != nil {
|
||||
return "", types.HijackedResponse{}, err
|
||||
}
|
||||
|
||||
return resp.ID, attachResp, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user