diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-10 15:16:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-10 15:16:51 -0400 |
commit | 41bd5e298a8d16d1d43f5e9d5a25e5ec6436e87b (patch) | |
tree | 310d0e3ebd97035958096ee54ba5fb67b3e2c25e /libpod/container_internal.go | |
parent | 89a348346df1f87a4cf8bc90c7f047f8ac6a074f (diff) | |
parent | 686f6eccee0c20e1dc0789bde76a38cba7535e8e (diff) | |
download | podman-41bd5e298a8d16d1d43f5e9d5a25e5ec6436e87b.tar.gz podman-41bd5e298a8d16d1d43f5e9d5a25e5ec6436e87b.tar.bz2 podman-41bd5e298a8d16d1d43f5e9d5a25e5ec6436e87b.zip |
Merge pull request #7578 from giuseppe/join-userns-reuse-mappings
libpod: read mappings when joining a container userns
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index c3f07a48b..5a0a0edfa 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -380,6 +380,8 @@ func (c *Container) setupStorageMapping(dest, from *storage.IDMappingOptions) { } dest.GIDMap = append(dest.GIDMap, g) } + dest.HostUIDMapping = false + dest.HostGIDMapping = false } } |