package userns
import "github.com/opencontainers/runc/libcontainer/userns"
Index ¶
Functions ¶
func RunningInUserNS ¶
func RunningInUserNS() bool
RunningInUserNS detects whether we are currently running in a Linux user namespace and memoizes the result. It returns false on non-Linux platforms.
Source Files ¶
userns.go userns_unsupported.go
- Version
- v1.2.0-rc.3
- Published
- Sep 3, 2024
- Platform
- darwin/amd64
- Last checked
- 5 hours ago –
Tools for package owners.