1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 new storage driver: fuse-overlayfs 2020-02-10 23:48:52 +09:00
fuseoverlayfs_unsupported.go new storage driver: fuse-overlayfs 2020-02-10 23:48:52 +09:00