mirror of https://github.com/containers/podman.git
Include tmpfs in inspect
Other container runtimes include the tmpfs mount points in their inspect output. Podman should as well. It is under hostconfig. Resolves: #483 Signed-off-by: baude <bbaude@redhat.com> Closes: #488 Approved by: rhatdan
This commit is contained in:
parent
97c2c33978
commit
bc358eb396
|
@ -241,6 +241,7 @@ func getCtrInspectInfo(ctr *libpod.Container, ctrInspectData *inspect.ContainerI
|
||||||
Memory: createArtifact.Resources.Memory,
|
Memory: createArtifact.Resources.Memory,
|
||||||
Ulimits: createArtifact.Resources.Ulimit,
|
Ulimits: createArtifact.Resources.Ulimit,
|
||||||
SecurityOpt: createArtifact.SecurityOpts,
|
SecurityOpt: createArtifact.SecurityOpts,
|
||||||
|
Tmpfs: createArtifact.Tmpfs,
|
||||||
},
|
},
|
||||||
&inspect.CtrConfig{
|
&inspect.CtrConfig{
|
||||||
Hostname: spec.Hostname,
|
Hostname: spec.Hostname,
|
||||||
|
|
|
@ -74,6 +74,7 @@ type HostConfig struct {
|
||||||
CPUPercent int `json:"CPUPercent"` //check type, TODO
|
CPUPercent int `json:"CPUPercent"` //check type, TODO
|
||||||
IOMaximumIOps int `json:"IOMaximumIOps"` //check type, TODO
|
IOMaximumIOps int `json:"IOMaximumIOps"` //check type, TODO
|
||||||
IOMaximumBandwidth int `json:"IOMaximumBandwidth"` //check type, TODO
|
IOMaximumBandwidth int `json:"IOMaximumBandwidth"` //check type, TODO
|
||||||
|
Tmpfs []string `json:"Tmpfs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CtrConfig holds information about the container configuration
|
// CtrConfig holds information about the container configuration
|
||||||
|
|
Loading…
Reference in New Issue