Fixes #9469.
Signed-off-by: Rémy Greinhofer <remy.greinhofer@livelovely.com>
| ... | ... |
@@ -41,6 +41,7 @@ func (daemon *Daemon) ContainerInspect(job *engine.Job) engine.Status {
|
| 41 | 41 |
out.Set("HostnamePath", container.HostnamePath)
|
| 42 | 42 |
out.Set("HostsPath", container.HostsPath)
|
| 43 | 43 |
out.Set("Name", container.Name)
|
| 44 |
+ out.SetInt("RestartCount", container.RestartCount)
|
|
| 44 | 45 |
out.Set("Driver", container.Driver)
|
| 45 | 46 |
out.Set("ExecDriver", container.ExecDriver)
|
| 46 | 47 |
out.Set("MountLabel", container.MountLabel)
|