Skip to content

Commit

Permalink
demos/bubblewrap-shell.sh: Unshare all namespaces
Browse files Browse the repository at this point in the history
Lets demo things as sandboxed as possible.

Closes: #154
Approved by: cgwalters
  • Loading branch information
alexlarsson authored and rh-atomic-bot committed Jan 17, 2017
1 parent 06a7f31 commit a6e1516
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions demos/bubblewrap-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ set -euo pipefail
--symlink usr/sbin /sbin \
--chdir / \
--unshare-pid \
--unshare-user-try \
--unshare-ipc \
--unshare-net \
--unshare-uts \
--unshare-cgroup-try \
--dir /run/user/$(id -u) \
--setenv XDG_RUNTIME_DIR "/run/user/`id -u`" \
--setenv PS1 "bwrap-demo$ " \
Expand Down

0 comments on commit a6e1516

Please sign in to comment.