Skip to content

Commit

Permalink
Merge pull request #9621 from rgreinho/issue/9469
Browse files Browse the repository at this point in the history
Report number of times that docker has auto-restarted a container
  • Loading branch information
LK4D4 committed Dec 12, 2014
2 parents a9ecd21 + 8f8d24c commit d7d981b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7d981b

Please sign in to comment.