Stop providing the hostConfig while starting the container

This commit is contained in:
Colin Hebert 2016-02-13 22:04:51 +11:00
parent 636f05a941
commit a78d1a3cd4
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() 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) return fmt.Errorf("Unable to start container: %s", err)
} }