add image name to containers table (#1302)

This commit is contained in:
henrygd
2025-10-20 17:11:26 -04:00
parent 1df08801a2
commit dfd1fc8fda
8 changed files with 52 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ type ApiInfo struct {
Names []string
Status string
State string
// Image string
Image string
// ImageID string
// Command string
// Created int64
@@ -130,6 +130,7 @@ type Stats struct {
Health DockerHealth `json:"-" cbor:"5,keyasint"`
Status string `json:"-" cbor:"6,keyasint"`
Id string `json:"-" cbor:"7,keyasint"`
Image string `json:"-" cbor:"8,keyasint"`
// PrevCpu [2]uint64 `json:"-"`
CpuSystem uint64 `json:"-"`
CpuContainer uint64 `json:"-"`