Report number of times that docker has auto-restarted a container
Fixes #9469. Signed-off-by: Rémy Greinhofer <remy.greinhofer@livelovely.com> Upstream-commit: 8f8d24cb1c762e74833bbb9b6e2b58438b42d36b Component: engine
This commit is contained in:
@ -41,6 +41,7 @@ func (daemon *Daemon) ContainerInspect(job *engine.Job) engine.Status {
|
||||
out.Set("HostnamePath", container.HostnamePath)
|
||||
out.Set("HostsPath", container.HostsPath)
|
||||
out.Set("Name", container.Name)
|
||||
out.SetInt("RestartCount", container.RestartCount)
|
||||
out.Set("Driver", container.Driver)
|
||||
out.Set("ExecDriver", container.ExecDriver)
|
||||
out.Set("MountLabel", container.MountLabel)
|
||||
|
||||
Reference in New Issue
Block a user