Add AppArmorProfile to container inspect json

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 0573b17b24b66c26e8311d55dff4d81923030f75
Component: engine
This commit is contained in:
Michael Crosby
2014-11-03 23:00:49 +00:00
committed by unclejack
parent b670ee9b69
commit c12b99ac62

View File

@ -47,6 +47,7 @@ func (daemon *Daemon) ContainerInspect(job *engine.Job) engine.Status {
out.Set("ProcessLabel", container.ProcessLabel)
out.SetJson("Volumes", container.Volumes)
out.SetJson("VolumesRW", container.VolumesRW)
out.SetJson("AppArmorProfile", container.AppArmorProfile)
if children, err := daemon.Children(container.Name); err == nil {
for linkAlias, child := range children {