diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-06-19 17:19:29 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-06-19 17:19:29 -0400 |
commit | 3d78085d52f3e809381eeb885794ced7e9db1352 (patch) | |
tree | 303788f8e0ff63eb25ceacd2fe921e9d9ff758ba /libpod/container_inspect.go | |
parent | fa0e48f21aaf0bc186312b64719a3e7df39fb990 (diff) | |
download | podman-3d78085d52f3e809381eeb885794ced7e9db1352.tar.gz podman-3d78085d52f3e809381eeb885794ced7e9db1352.tar.bz2 podman-3d78085d52f3e809381eeb885794ced7e9db1352.zip |
Print container's OCI runtime in `inspect`
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r-- | libpod/container_inspect.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go index 8b3a18e41..af42de3d8 100644 --- a/libpod/container_inspect.go +++ b/libpod/container_inspect.go @@ -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), |