mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Report number of times that docker has auto-restarted a container
Fixes #9469. Signed-off-by: Rémy Greinhofer <remy.greinhofer@livelovely.com>
This commit is contained in:
parent
a9ecd2116b
commit
8f8d24cb1c
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ func (daemon *Daemon) ContainerInspect(job *engine.Job) engine.Status {
|
||||||
out.Set("HostnamePath", container.HostnamePath)
|
out.Set("HostnamePath", container.HostnamePath)
|
||||||
out.Set("HostsPath", container.HostsPath)
|
out.Set("HostsPath", container.HostsPath)
|
||||||
out.Set("Name", container.Name)
|
out.Set("Name", container.Name)
|
||||||
|
out.SetInt("RestartCount", container.RestartCount)
|
||||||
out.Set("Driver", container.Driver)
|
out.Set("Driver", container.Driver)
|
||||||
out.Set("ExecDriver", container.ExecDriver)
|
out.Set("ExecDriver", container.ExecDriver)
|
||||||
out.Set("MountLabel", container.MountLabel)
|
out.Set("MountLabel", container.MountLabel)
|
||||||
|
|
Loading…
Add table
Reference in a new issue