mirror of
https://github.com/moby/moby.git
synced 2026-07-26 03:07:42 +00:00
testutil/daemon uses a generic unix implementation that assumes that the host OS supports cgroups & network namespaces, which is not the case for FreeBSD. This change adds a FreeBSD-specific implementation for `testutil/daemon`, namely for `cleanupNetworkNamespace` and `CgroupNamespace` functions. Signed-off-by: Artem Khramov <akhramov@pm.me>