diff --git a/daemon/execdriver/native/driver.go b/daemon/execdriver/native/driver.go index e674d57333..2e57729d4b 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) } })