moby--moby/daemon/graphdriver/fuse-overlayfs
Sebastiaan van Stijn 4534a7afc3
daemon: use containerd/sys to detect UserNamespaces
The implementation in libcontainer/system is quite complicated,
and we only use it to detect if user-namespaces are enabled.

In addition, the implementation in containerd uses a sync.Once,
so that detection (and reading/parsing `/proc/self/uid_map`) is
only performed once.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-06-15 13:06:08 +02:00
..
fuseoverlayfs.go daemon: use containerd/sys to detect UserNamespaces 2020-06-15 13:06:08 +02:00
fuseoverlayfs_test.go
fuseoverlayfs_unsupported.go