mirror of
https://github.com/containers/podman.git
synced 2025-06-28 14:29:04 +08:00
add image user to inspect data
Signed-off-by: baude <bbaude@redhat.com> Closes: #1036 Approved by: rhatdan
This commit is contained in:
@ -815,6 +815,7 @@ func (i *Image) Inspect(ctx context.Context) (*inspect.ImageData, error) {
|
||||
},
|
||||
GraphDriver: driver,
|
||||
ManifestType: manifestType,
|
||||
User: ociv1Img.Config.User,
|
||||
}
|
||||
return data, nil
|
||||
}
|
||||
|
@ -125,6 +125,7 @@ type ImageData struct {
|
||||
Labels map[string]string `json:"Labels"`
|
||||
Annotations map[string]string `json:"Annotations"`
|
||||
ManifestType string `json:"ManifestType"`
|
||||
User string `json:"User"`
|
||||
}
|
||||
|
||||
// RootFS holds the root fs information of an image
|
||||
|
Reference in New Issue
Block a user