Merge pull request #5123 from ColinHebert/start_host_config

provider/docker: Stop providing the hostConfig while starting the container
This commit is contained in:
Paul Hinze 2016-02-22 18:49:03 -06:00
commit b822c6fa1a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}