summaryrefslogtreecommitdiff
path: root/examples/netnsslirp.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2025-07-01 16:36:44 +0200
committerHelmut Grohne <helmut@subdivi.de>2025-07-01 16:36:44 +0200
commit37aecdf8a1fda1c21c936c1b94ba15184394fc92 (patch)
treec1d10c1c56c9425878c562919ce584e2ae266a0b /examples/netnsslirp.py
parent823b6754d68b01a6d30431411506cc9084560e68 (diff)
downloadpython-linuxnamespaces-37aecdf8a1fda1c21c936c1b94ba15184394fc92.tar.gz
add a second implementation of the unschroot example
While the first implementation created new namespaces for every invocation in a similar way to sbuild's unshare mode, the second implementation keeps a backround process with persistent user and mount namespace around. This allows using a new tmpfs as backing device and using fuse mounts for underlying filesystems. Communication between the background process and the cli is implemented using the https://github.com/helmutg/asyncvarlink varlink implementation. Chroots can be detected from typical locations or configured via ~/.config/unschroot.ini. Thanks go out for fruitful discussions, feedback and testing to: * Christian Hofstaedler * Christoph Berg * Enrico Zini * Jochen Sprickerhof * Johannes Schauer Marin Rodrigues * Thomas Walz
Diffstat (limited to 'examples/netnsslirp.py')
0 files changed, 0 insertions, 0 deletions