This Source Code Form is subject to the terms of the Mozilla Public
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qbwrap-1.3.0.tar.gz.
File metadata
- Download URL: qbwrap-1.3.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07fa84dbe4efeb074962f3aa25087cecd17d5591a5ded92d7c99062ec4efc278
|
|
| MD5 |
9d344b75b6d4265ae7d8a7fa1dd92c24
|
|
| BLAKE2b-256 |
61e16516256bdcd0a62597e7a22f2a129e6d175d136e72b3a67fec6f696972da
|
File details
Details for the file qbwrap-1.3.0-py3-none-any.whl.
File metadata
- Download URL: qbwrap-1.3.0-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b333ef2809aeec0abb1d69e15a8d42f5f8f96f57f7983d6c34948e45fd42ed84
|
|
| MD5 |
b6d9fdf75e03e240c6729236fbb9a4df
|
|
| BLAKE2b-256 |
63306a3e62a5ba3cf406609be542bd5d8d076712068462d2288ccf4f8a8ef38a
|