mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
bwrap: add page (#15643)
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
parent
c3b82e778c
commit
7c610614cb
1 changed files with 12 additions and 0 deletions
12
pages/linux/bwrap.md
Normal file
12
pages/linux/bwrap.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# bwrap
|
||||
|
||||
> Run programs in a lightweight sandbox.
|
||||
> More information: <https://manned.org/bwrap>.
|
||||
|
||||
- Run a program in a read-only environment:
|
||||
|
||||
`bwrap --ro-bind / / {{/bin/bash}}`
|
||||
|
||||
- Give the environment access to devices, process information and create a `tmpfs` for it:
|
||||
|
||||
`bwrap --dev-bind /dev /dev --proc /proc --ro-bind / / --tmpfs /tmp {{/bin/bash}}`
|
Loading…
Add table
Reference in a new issue