moby--moby/daemon/graphdriver/copy
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
..
copy.go daemon: use containerd/sys to detect UserNamespaces 2020-06-15 13:06:08 +02:00
copy_cgo.go
copy_nocgo.go
copy_test.go