i want access cgroup
option for simulate docker in macos
.
i searched SO but as they said it's implimented via linux and unix system.
but in golang you can work with syscall option .
any clue or hint?
Asked
Active
Viewed 302 times
0

Volker
- 40,468
- 7
- 81
- 87
-
https://github.com/asbjornenge/cgroups#readme There is third party library, apparently, though it has almost 4 years of inactivity... or this: https://github.com/armPelionEdge/node-cgroups – briosheje Apr 12 '19 at 10:26
-
1these are for linux system's not for macos. macos doesn't support cgroups [link](https://apple.stackexchange.com/questions/136335/os-level-virtualization-containers-for-os-x) – Apr 12 '19 at 11:44
-
MacOS virtualization uses Hypervisor.framework – Jean-Baptiste Yunès Apr 12 '19 at 13:57