Remove unnecessary --interactive flag
Per @achanda, this was added [accidentally](b92546a9c5 (commitcomment-16750062)
).
This commit is contained in:
parent
4bc865e47f
commit
efe080b53f
|
@ -157,7 +157,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
|
|||
insecure = true
|
||||
}
|
||||
|
||||
cmdArgs = append(cmdArgs, "run", "--interactive")
|
||||
cmdArgs = append(cmdArgs, "run")
|
||||
cmdArgs = append(cmdArgs, fmt.Sprintf("--volume=%s,kind=host,source=%s", task.Name, ctx.AllocDir.SharedDir))
|
||||
cmdArgs = append(cmdArgs, fmt.Sprintf("--mount=volume=%s,target=%s", task.Name, ctx.AllocDir.SharedDir))
|
||||
cmdArgs = append(cmdArgs, img)
|
||||
|
|
Loading…
Reference in New Issue