Skip to main content

Module chroot

Module chroot 

Source
Expand description

Builder for running commands inside a target os tree using a mount namespace + chroot. Requires CAP_SYS_ADMIN.

Structs§

ChrootCmd
Builder for running commands inside a target directory using a mount namespace + chroot.

Enums§

BindMode
Whether a ChrootCmd::bind mount also carries over mounts nested under its source.