do not send hostconfig at start, as we do on create now
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
88e6693912
commit
12028fc159
1 changed files with 1 additions and 1 deletions
|
@ -2289,7 +2289,7 @@ func (cli *DockerCli) CmdRun(args ...string) error {
|
|||
}
|
||||
|
||||
//start the container
|
||||
if _, _, err = readBody(cli.call("POST", "/containers/"+runResult.Get("Id")+"/start", hostConfig, false)); err != nil {
|
||||
if _, _, err = readBody(cli.call("POST", "/containers/"+runResult.Get("Id")+"/start", nil, false)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue