Initialize dockerhandle with jobname, taskgroupname, taskname and allocid
This commit is contained in:
parent
127b764dfb
commit
4f6db56283
|
@ -903,6 +903,10 @@ func (d *DockerDriver) Start(ctx *ExecContext, task *structs.Task) (*StartRespon
|
|||
executor: exec,
|
||||
pluginClient: pluginClient,
|
||||
logger: d.logger,
|
||||
jobName: d.DriverContext.jobName,
|
||||
taskGroupName: d.DriverContext.taskGroupName,
|
||||
taskName: d.DriverContext.taskName,
|
||||
allocID: d.DriverContext.allocID,
|
||||
Image: d.driverConfig.ImageName,
|
||||
ImageID: d.imageID,
|
||||
containerID: container.ID,
|
||||
|
|
Loading…
Reference in New Issue