Skip to content

Commit

Permalink
Merge pull request #4926 from hashicorp/f-docker-image-ref
Browse files Browse the repository at this point in the history
Use user provided image name to launch container
  • Loading branch information
notnoop committed Nov 30, 2018
2 parents 5c354ad + 2310600 commit ef42413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/docker/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *struc
return nil, nil, err
}

containerCfg, err := d.createContainerConfig(cfg, &driverConfig, id)
containerCfg, err := d.createContainerConfig(cfg, &driverConfig, driverConfig.Image)
if err != nil {
d.logger.Error("failed to create container configuration", "image_name", driverConfig.Image,
"image_id", id, "error", err)
Expand Down

0 comments on commit ef42413

Please sign in to comment.