mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-26 01:29:36 -05:00
Stop providing the hostConfig while starting the container
This commit is contained in:
parent
f5efe52f08
commit
292c493762
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue