-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
coreCore part of the repo (signer, modules interface)Core part of the repo (signer, modules interface)discussNeeds to be discussed and/or researchedNeeds to be discussed and/or researched
Description
Currently Commit Boost relies heavily on Docker to launch and organize the different modules. This has the advantage of better cross-platform support, sandboxing of modules, and easier integration for node operators which already use docker or k8s. However, this tights us closely to Docker and the Docker API, which not all operators may want to use.
We need to explore how to support a similar setup without using Docker, by running native binaries instead.
On linux there are number of internal utilities that can achieve similar sandboxing as docker (and which Docker uses under the hood):
seccompfilters to fine grain syscalls permissions- PID/NET/MNT namespacing to sandbox processes, network and file system
- control groups (cgroups) to limit memory and disk use
- user permissions
More research is needed on how to best use these and if there are alternative ways to do it, and how to achieve a similar setup on other platforms eg Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreCore part of the repo (signer, modules interface)Core part of the repo (signer, modules interface)discussNeeds to be discussed and/or researchedNeeds to be discussed and/or researched