mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
7c610614cb
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
356 B
356 B
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
tmpfsfor it:
bwrap --dev-bind /dev /dev --proc /proc --ro-bind / / --tmpfs /tmp {{/bin/bash}}