moby--moby/daemon/graphdriver/overlay2
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
..
check.go overlay: move supportsMultipleLowerDir to utils 2019-11-08 11:48:47 -08:00
mount.go daemon/graphdriver: normalize comment formatting 2019-11-27 15:43:23 +01:00
overlay.go daemon: use containerd/sys to detect UserNamespaces 2020-06-15 13:06:08 +02:00
overlay_test.go Update overlay2 to use naive diff for changes 2018-06-20 11:07:36 -07:00
overlay_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00