Skip to content

Commit

Permalink
Update bwrap.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Managor authored Jan 30, 2025
1 parent 8a32e34 commit 2f241f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/linux/bwrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@
- 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`

0 comments on commit 2f241f9

Please sign in to comment.