diff --git a/daemon/execdriver/native/driver.go b/daemon/execdriver/native/driver.go index e674d5733359c1e9f926a8275ef1ec6b2831a480..2e57729d4bab139c332ee555e11161fd4f8b1464 100644 --- a/daemon/execdriver/native/driver.go +++ b/daemon/execdriver/native/driver.go @@ -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) } })