package idmap
import "github.com/containers/storage/pkg/idmap"
Index ¶
- func CreateIDMappedMount(source, target string, pid int) error
- func CreateUsernsProcess(uidMaps []idtools.IDMap, gidMaps []idtools.IDMap) (int, func(), error)
Functions ¶
func CreateIDMappedMount ¶
CreateIDMappedMount creates a IDMapped bind mount from SOURCE to TARGET using the user namespace for the PID process.
func CreateUsernsProcess ¶
CreateUsernsProcess forks the current process and creates a user namespace using the specified mappings. It returns the pid of the new process.
Source Files ¶
- Version
- v1.59.0 (latest)
- Published
- Jul 14, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 2 days ago –
Tools for package owners.