mirror of
https://github.com/containerd/containerd.git
synced 2026-08-09 17:39:22 +00:00
Moves cgroup namespace addition logic higher in buildLinuxSpec so it runs before any custom spec adjusters (such as WithMounts). This is necessary because subsequent spec adjusters may want to inspect the set of namespaces to make decisions (e.g., configuring mount options based on whether or not they are shared with the host). Signed-off-by: Chris Henzie <chrishenzie@gmail.com>