From a78d1a3cd4ce2cc97272dd2038b76c9d251b2416 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sat, 13 Feb 2016 22:04:51 +1100 Subject: [PATCH] Stop providing the hostConfig while starting the container --- builtin/providers/docker/resource_docker_container_funcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/docker/resource_docker_container_funcs.go b/builtin/providers/docker/resource_docker_container_funcs.go index 0f276b0f6..0453b06a1 100644 --- a/builtin/providers/docker/resource_docker_container_funcs.go +++ b/builtin/providers/docker/resource_docker_container_funcs.go @@ -171,7 +171,7 @@ func resourceDockerContainerCreate(d *schema.ResourceData, meta interface{}) err } creationTime = time.Now() - if err := client.StartContainer(retContainer.ID, hostConfig); err != nil { + if err := client.StartContainer(retContainer.ID, nil); err != nil { return fmt.Errorf("Unable to start container: %s", err) }