From 12028fc159c6c383b1b9e8810a7a41a7c6c985bc 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 --- api/client/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client/commands.go b/api/client/commands.go index f4ced5ecff..d657d47608 100644 --- a/api/client/commands.go +++ b/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 }