Skip to content

Add native binary support #18

@ltitanb

Description

@ltitanb

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):

  • seccomp filters 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreCore part of the repo (signer, modules interface)discussNeeds to be discussed and/or researched

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions