Skip to content

Commit

Permalink
Merge pull request #5123 from ColinHebert/start_host_config
Browse files Browse the repository at this point in the history
provider/docker: Stop providing the hostConfig while starting the container
  • Loading branch information
phinze committed Feb 23, 2016
2 parents 136c228 + a78d1a3 commit b822c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit b822c6f

Please sign in to comment.