mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
migrate to github.com/moby/sys/user/userns
The userns package in libcontainer was integrated into the moby/sys/user
module at commit [3778ae603c706494fd1e2c2faf83b406e38d687d][1].
The userns package is used in many places, and currently either depends
on runc/libcontainer, or on containerd, both of which have a complex
dependency tree. This patch is part of a series of patches to unify the
implementations, and to migrate toward that implementation to simplify
the dependency tree.
[1]: 3778ae603c
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
"github.com/containerd/cgroups/v3"
|
||||
cgroupsV2 "github.com/containerd/cgroups/v3/cgroup2"
|
||||
"github.com/containerd/containerd/pkg/userns"
|
||||
"github.com/containerd/log"
|
||||
"github.com/moby/sys/user/userns"
|
||||
)
|
||||
|
||||
func newV2(options ...Opt) *SysInfo {
|
||||
|
||||
Reference in New Issue
Block a user