mirror of
https://github.com/containers/podman.git
synced 2025-08-02 17:22:30 +08:00
Print container's OCI runtime in inspect
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -31,6 +31,7 @@ type InspectContainerData struct {
|
||||
HostsPath string `json:"HostsPath"`
|
||||
StaticDir string `json:"StaticDir"`
|
||||
OCIConfigPath string `json:"OCIConfigPath,omitempty"`
|
||||
OCIRuntime string `json:"OCIRuntime,omitempty"`
|
||||
LogPath string `json:"LogPath"`
|
||||
ConmonPidFile string `json:"ConmonPidFile"`
|
||||
Name string `json:"Name"`
|
||||
@ -274,6 +275,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *driver.Data)
|
||||
HostsPath: hostsPath,
|
||||
StaticDir: config.StaticDir,
|
||||
LogPath: config.LogPath,
|
||||
OCIRuntime: config.OCIRuntime,
|
||||
ConmonPidFile: config.ConmonPidFile,
|
||||
Name: config.Name,
|
||||
RestartCount: int32(runtimeInfo.RestartCount),
|
||||
|
Reference in New Issue
Block a user