Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
/ sideroot Public archive

improved and simplified isolated environment for chromeos, unshares mount namespace to simplify chroot cleanup and provides easy way to do basic ns stuff, even rootless (with capabilities)

Notifications You must be signed in to change notification settings

s1gnate-sync/sideroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

  • Can be used as chroot replacement
  • To run app with different filesystem view
  • As sudo sideroot -u 0 -g 0 -- whoami
Usage:
 sideroot [options] -- [<program> [<argument>...]]

Options:
 -r <root-dir>    Change root directory.
 -d <ch-dir>      Set working directory inside chroot (defaults to /).
 -u <uid>         Change user inside chroot.
 -u <uid>         Change group inside chroot.
 -b <src<:<dst>> Bind <src> to <root-dir>/<dst>.
                       Multiple instances allowed.
 -E               Start with empty environment.
 -e <name>=<val>  Set environment variable <name> to <val>.
                       Multiple instances allowed.
 -h               Display this help.
 --chroot         Shortcut for --proc --sys --dev --devpts.
 --proc           Mount proc filesystem to /proc.
 --sys            Mount sysfs filesystem to /sys.
 --dev            Mount devtmpfs filesystem to /dev.
 --devpts         Mount devpts filesystem to /dev/pts. Implies --dev.
 --run            Mount tmpfs filesystem to /run.
 --tmp            Mount tmpfs filesystem to /tmp.

About

improved and simplified isolated environment for chromeos, unshares mount namespace to simplify chroot cleanup and provides easy way to do basic ns stuff, even rootless (with capabilities)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published