schroot Command Examples

Run a command or start an interactive shell with a different root directory. More customizable than chroot. More information: https://wiki.debian.org/Schroot.

schroot --list

schroot --chroot {{chroot}} {{command}}

schroot --chroot {{chroot}} {{command}} -- {{command_options}}

schroot --all {{command}}

schroot --chroot {{chroot}} --user {{user}}

schroot --begin-session --chroot {{chroot}}

schroot --run-session --chroot {{session_id}}

schroot --end-session --chroot {{session_id}}