Stop providing the hostConfig while starting the container

This commit is contained in:
Colin Hebert 2016-02-13 22:04:51 +11:00
parent f5efe52f08
commit 292c493762

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