Crate nswrap

source ·
Expand description

This crate is aiming at providing an friendly interface of linux container technologies. These technologies include system calls like namespaces(7) and clone(2). It can be use as a low-level library to configure and execute program and closure inside linux containers.

The Wrap follows a similar builder pattern to std::process::Command. In addition, Wrap contains methods to configure linux namespaces, chroots, mount points, and more part specific to linux.

Modules

Structs

  • The reference to the running child.
  • Exit status of the child.
  • Main class of spawn process and execute functions.

Type Definitions

  • Boxed closure to execute in child process