Merge pull request #5643 from crosbymichael/fix-native-pid
Set container pid for process in native driver Upstream-commit: 41b2874b99fa308b23bd9984b28f2c89f69ebd14 Component: engine
This commit is contained in:
@@ -122,6 +122,7 @@ func (d *driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, startCallba
|
||||
return &c.Cmd
|
||||
}, func() {
|
||||
if startCallback != nil {
|
||||
c.ContainerPid = c.Process.Pid
|
||||
startCallback(c)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user