Merge pull request #7578 from giuseppe/join-userns-reuse-mappings

libpod: read mappings when joining a container userns
This commit is contained in:
OpenShift Merge Robot
2020-09-10 15:16:51 -04:00
committed by GitHub
3 changed files with 21 additions and 0 deletions

View File

@ -380,6 +380,8 @@ func (c *Container) setupStorageMapping(dest, from *storage.IDMappingOptions) {
}
dest.GIDMap = append(dest.GIDMap, g)
}
dest.HostUIDMapping = false
dest.HostGIDMapping = false
}
}