This commit is contained in:
Serhii Bilonozhko
2018-10-05 17:21:24 -04:00
parent caf6fc63c1
commit 9a185b2388
3 changed files with 52 additions and 2 deletions

View File

@ -104,6 +104,9 @@ func (cm *Docker) refresh(c *container.Container) {
c.SetMeta("ports", portsFormat(insp.NetworkSettings.Ports))
c.SetMeta("created", insp.Created.Format("Mon Jan 2 15:04:05 2006"))
c.SetMeta("health", insp.State.Health.Status)
for _, env := range insp.Config.Env {
c.SetMeta("[ENV-VAR]", string(env))
}
c.SetState(insp.State.Status)
}