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/quota
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
..
errors.go
projectquota.go daemon: use containerd/sys to detect UserNamespaces 2020-06-15 13:06:08 +02:00
projectquota_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
projectquota_unsupported.go Add support to riscv64 to the build scripts 2020-04-03 14:33:32 -03:00
types.go projectquota: protect concurrent map access 2019-08-01 09:58:34 -07:00