MCPcopy Create free account
hub / github.com/containerd/nerdctl / IsRootlessParent

Function IsRootlessParent

pkg/rootlessutil/parent_linux.go:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32)
33
34func IsRootlessParent() bool {
35 return os.Geteuid() != 0
36}
37
38func RootlessKitStateDir() (string, error) {
39 if v := os.Getenv("ROOTLESSKIT_STATE_DIR"); v != "" {

Callers 7

NamespaceNamesFunction · 0.92
SnapshotterNamesFunction · 0.92
IsRootlessChildFunction · 0.70
ParentMainFunction · 0.70
IsRootlessFunction · 0.70

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…