mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
Properly set Running state when starting containers
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
@ -734,6 +734,8 @@ func (c *Container) start() error {
|
||||
}
|
||||
logrus.Debugf("Started container %s", c.ID())
|
||||
|
||||
c.state.State = ContainerStateRunning
|
||||
|
||||
return c.save()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user