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/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: allow non-cgo build 2019-06-05 22:21:11 -07:00
copy_nocgo.go copy: allow non-cgo build 2019-06-05 22:21:11 -07:00
copy_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00