Properly set Running state when starting containers

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
Matthew Heon
2018-10-25 14:11:44 -04:00
parent 0f45403c9b
commit c9e9ca5671

View File

@ -734,6 +734,8 @@ func (c *Container) start() error {
}
logrus.Debugf("Started container %s", c.ID())
c.state.State = ContainerStateRunning
return c.save()
}