package userns

import "github.com/containerd/containerd/pkg/userns"

Index

Functions

func RunningInUserNS

func RunningInUserNS() bool

RunningInUserNS detects whether we are currently running in a user namespace. Originally copied from github.com/lxc/lxd/shared/util.go

Source Files

userns_linux.go

Version
v1.6.0-rc.4
Published
Feb 10, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
9 hours ago

Tools for package owners.