mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
do not send hostconfig at start, as we do on create now
Signed-off-by: Victor Vieux <vieux@docker.com> Upstream-commit: 12028fc159c6c383b1b9e8810a7a41a7c6c985bc Component: engine
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user