mirror of https://github.com/containers/podman.git
Merge pull request #1868 from QiWang19/issue860
Add history field to image inspect
This commit is contained in:
commit
39560500fc
|
@ -869,6 +869,7 @@ func (i *Image) Inspect(ctx context.Context) (*inspect.ImageData, error) {
|
|||
GraphDriver: driver,
|
||||
ManifestType: manifestType,
|
||||
User: ociv1Img.Config.User,
|
||||
History: ociv1Img.History,
|
||||
}
|
||||
return data, nil
|
||||
}
|
||||
|
|
|
@ -126,6 +126,7 @@ type ImageData struct {
|
|||
Annotations map[string]string `json:"Annotations"`
|
||||
ManifestType string `json:"ManifestType"`
|
||||
User string `json:"User"`
|
||||
History []v1.History `json:"History"`
|
||||
}
|
||||
|
||||
// RootFS holds the root fs information of an image
|
||||
|
|
Loading…
Reference in New Issue