QBwrap
Quick Bubblewrap chroot management tool.
About
QBwrap is a tool that allows for quick bwrap chroot management with toml configuration files.
Sample
A sample QBwrap configuration file might look something like this:
[core]
location = "/chroots/my-chroot"
hostname = "test"
process = "bash -l"
[mount]
rw = [
["/chroots/my-chroot", "/"],
]
ro = [
"/etc/resolv.conf",
]
dev = [
"/dev",
]
proc = [
"/proc",
]
tmpfs = [
["/dev/shm", {}],
["/tmp", {perms = "1777"}],
]
Documentation
Documentation can either be built locally or browsed online on GitLab pages.
Command-line interface
Usage
qbwrap [-h] [-V] [-q] [-f] [-r]
[-R ROOT_METHOD] [-S DEV_SIZE] [-e EXECUTABLE] [-p PROCESS] [-m MERGE]
[-P COLLECTION_PATH]
[-c {default,always,never}]
[--no-setup] [--force-setup]
qbwrap_file
Positional arguments
qbwrap_file path to the QBwrap config file
Options
-h, --help show this help message and exit
-V, --version show program's version number and exit
-q, --quiet be quiet, limit information output
-f, --fake do not actually call bwrap
-r, --root call bwrap as root
-R ROOT_METHOD, --root-method ROOT_METHOD
which method to use to become root
-S DEV_SIZE, --dev-size DEV_SIZE
default size for special devices, eg. tmpfs
-e EXECUTABLE, --executable EXECUTABLE
bubblewrap executable to call, defaults to "bwrap"
-p PROCESS, --process PROCESS
override process command to start inside bwrap chroot
-m MERGE, --merge MERGE
override any stanza of given QBwrap config
-P COLLECTION_PATH, --collection-path COLLECTION_PATH
overwrite path of the QBwrap collection
-c {default,always,never}, --use-collection {default,always,never}
whether and how to use the QBwrap collection
--no-setup do not run setup (from the setup stanza) even if required
--force-setup force to run setup defined in the setup stanza
Installation
PyPi
Available at pypi.org/project/qbwrap.
pip install --user --break-system-packages qbwrap
Repository
See instructions in the xgqt-python-app-qbwrap repository's README.md file.
Metadata
Release files for qbwrap 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qbwrap-1.3.0.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qbwrap-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.1 kB
Release files / qbwrap-1.3.0.tar.gz
| Download URL | qbwrap-1.3.0.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07fa84dbe4efeb074962f3aa25087cecd17d5591a5ded92d7c99062ec4efc278
|
|
BLAKE2b-256 checksum How to use checksums |
61e16516256bdcd0a62597e7a22f2a129e6d175d136e72b3a67fec6f696972da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / qbwrap-1.3.0-py3-none-any.whl
| Download URL | qbwrap-1.3.0-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b333ef2809aeec0abb1d69e15a8d42f5f8f96f57f7983d6c34948e45fd42ed84
|
|
BLAKE2b-256 checksum How to use checksums |
63306a3e62a5ba3cf406609be542bd5d8d076712068462d2288ccf4f8a8ef38a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|