mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
Retrieve container PID from conmon
Instead of running a full sync after starting a container to pick up its PID, grab it from Conmon instead. Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
@ -734,11 +734,6 @@ func (c *Container) start() error {
|
||||
}
|
||||
logrus.Debugf("Started container %s", c.ID())
|
||||
|
||||
// We need to pick up full container state, including PID.
|
||||
if err := c.runtime.ociRuntime.updateContainerStatus(c, true); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return c.save()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user