diff --git a/api.go b/api.go index d9c1aa3f32a964bb35fa546b67eb63ece80d4884..93322fd8aa4450345a5217da5e614f7e2889d4d5 100644 --- a/api.go +++ b/api.go @@ -647,9 +647,6 @@ func postContainersStart(srv *Server, version float64, w http.ResponseWriter, r } name := vars["name"] job := srv.Eng.Job("start", name) - if err := job.ImportEnv(HostConfig{}); err != nil { - return fmt.Errorf("Couldn't initialize host configuration") - } // allow a nil body for backwards compatibility if r.Body != nil { if matchesContentType(r.Header.Get("Content-Type"), "application/json") {