diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-06 14:51:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 14:51:22 +0000 |
commit | ca5bebb0825a738ee04c073646696906db95c97c (patch) | |
tree | edc2990099171183914478cb101ce1562bdf95c2 /libpod/pod_api.go | |
parent | 49df3cc5cb7e6a1d9e28cacfa86562abbdf48fd9 (diff) | |
parent | 8f2d9e7a7c30f5e74f6aa0375b21a4522ec81756 (diff) | |
download | podman-ca5bebb0825a738ee04c073646696906db95c97c.tar.gz podman-ca5bebb0825a738ee04c073646696906db95c97c.tar.bz2 podman-ca5bebb0825a738ee04c073646696906db95c97c.zip |
Merge pull request #14501 from cdoern/podUTS
podman pod create --uts support
Diffstat (limited to 'libpod/pod_api.go')
-rw-r--r-- | libpod/pod_api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/pod_api.go b/libpod/pod_api.go index e04bb6b05..c1d54d55e 100644 --- a/libpod/pod_api.go +++ b/libpod/pod_api.go @@ -676,6 +676,7 @@ func (p *Pod) Inspect() (*define.InspectPodData, error) { infraConfig.CPUSetCPUs = p.ResourceLim().CPU.Cpus infraConfig.PidNS = p.NamespaceMode(specs.PIDNamespace) infraConfig.UserNS = p.NamespaceMode(specs.UserNamespace) + infraConfig.UtsNS = p.NamespaceMode(specs.UTSNamespace) namedVolumes, mounts := infra.SortUserVolumes(infra.config.Spec) inspectMounts, err = infra.GetMounts(namedVolumes, infra.config.ImageVolumes, mounts) infraSecurity = infra.GetSecurityOptions() |