diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-10-18 15:50:11 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2018-10-23 10:57:23 -0400 |
commit | a95d71f1135165ae51c28b49275e5a3948fbbd2b (patch) | |
tree | 09a1a17d28799e0ebf409c45f80d1b01985717ac /libpod/container_inspect.go | |
parent | 57b0b89d0ceb77bfd51a4d957f51fcea3d1580f6 (diff) | |
download | podman-a95d71f1135165ae51c28b49275e5a3948fbbd2b.tar.gz podman-a95d71f1135165ae51c28b49275e5a3948fbbd2b.tar.bz2 podman-a95d71f1135165ae51c28b49275e5a3948fbbd2b.zip |
Allow containers/storage to handle on SELinux labeling
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r-- | libpod/container_inspect.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go index f2e54aeef..9b07198bc 100644 --- a/libpod/container_inspect.go +++ b/libpod/container_inspect.go @@ -79,9 +79,9 @@ func (c *Container) getContainerInspectData(size bool, driverData *inspect.Data) Name: config.Name, Driver: driverData.Name, MountLabel: config.MountLabel, + ProcessLabel: config.ProcessLabel, EffectiveCaps: spec.Process.Capabilities.Effective, BoundingCaps: spec.Process.Capabilities.Bounding, - ProcessLabel: spec.Process.SelinuxLabel, AppArmorProfile: spec.Process.ApparmorProfile, ExecIDs: execIDs, GraphDriver: driverData, @@ -93,6 +93,7 @@ func (c *Container) getContainerInspectData(size bool, driverData *inspect.Data) HairpinMode: false, // TODO LinkLocalIPv6Address: "", // TODO - do we even support IPv6? LinkLocalIPv6PrefixLen: 0, // TODO - do we even support IPv6? + Ports: []ocicni.PortMapping{}, // TODO - maybe worth it to put this in Docker format? SandboxKey: "", // Network namespace path SecondaryIPAddresses: nil, // TODO - do we support this? |