From ea99d5664fc3fe2fc4b7a4369113332013527f76 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Fri, 24 Oct 2014 00:22:21 +0000 Subject: [PATCH] do not send hostconfig at start, as we do on create now Signed-off-by: Victor Vieux Upstream-commit: 12028fc159c6c383b1b9e8810a7a41a7c6c985bc Component: engine --- components/engine/api/client/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/api/client/commands.go b/components/engine/api/client/commands.go index f4ced5ecff..d657d47608 100644 --- a/components/engine/api/client/commands.go +++ b/components/engine/api/client/commands.go @@ -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 }