Windows: Plumb through user
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 5207ff7202327bd06fa7e8df4c58d6a944899b60 Component: engine
This commit is contained in:
@ -9,5 +9,6 @@ import (
|
||||
func execSetPlatformOpt(c *container.Container, ec *exec.Config, p *libcontainerd.Process) error {
|
||||
// Process arguments need to be escaped before sending to OCI.
|
||||
p.Args = escapeArgs(p.Args)
|
||||
p.User.Username = ec.User
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user