|
FlatImage
A configurable Linux containerization system
|
Bubblewrap sandboxing integration. More...
Namespaces | |
| namespace | ns_proxy |
| Bubblewrap proxy types and user configuration. | |
Classes | |
| class | Bwrap |
| Manages bubblewrap (bwrap) containerization. More... | |
| struct | bwrap_run_ret_t |
Typedefs | |
| using | Permissions = ns_reserved::ns_permissions::Permissions |
| using | Permission = ns_reserved::ns_permissions::Permission |
| using | Unshares = ns_reserved::ns_unshare::Unshares |
| using | Unshare = ns_reserved::ns_unshare::Unshare |
Functions | |
| Value< void > | bwrap_clean (fs::path const &path_dir_work) |
| Cleans up the bwrap work directory. | |
| std::vector< fs::path > | get_mounted_layers (fs::path const &path_dir_layers) |
| Get the mounted layers object. | |
Bubblewrap sandboxing integration.
Provides unprivileged containerization via Linux namespaces using bubblewrap. Manages sandbox configuration, permission-based bind mounts, user namespace isolation, overlay filesystem setup, and GPU/device access control. Supports both native overlay and FUSE-based overlay modes.
| using ns_bwrap::Permission = ns_reserved::ns_permissions::Permission |
| using ns_bwrap::Unshare = ns_reserved::ns_unshare::Unshare |
|
inline |
Cleans up the bwrap work directory.
Bwrap leaves behind a 'root' owned empty directory. It is possible to remove without root since it is empty after bwrap is finished. Might take some attempts.
| path_dir_work | Path to the bwrap work directory to clean |
Definition at line 175 of file bwrap.hpp.