drivers/exec: support device binds and mounts

This commit is contained in:
Mahmood Ali
2018-12-09 22:30:23 -05:00
committed by Mahmood Ali
parent 926428fe0f
commit 97f33bb153
6 changed files with 243 additions and 6 deletions

View File

@@ -344,6 +344,8 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *cstru
TaskDir: cfg.TaskDir().Dir,
StdoutPath: cfg.StdoutPath,
StderrPath: cfg.StderrPath,
Mounts: cfg.Mounts,
Devices: cfg.Devices,
}
ps, err := exec.Launch(execCmd)