# Encapsulation preface

TODO - outline users permissions

# `chroot`

TODO - ultra basic chroot creation

## With a custom script

# `debootstrap` 

TODO - practical root build

# Using `chroot` to fix a system

## `schroot`

# `systemd-nspawn`

## Foreign images

## Creating your own images with `debos`

# links

* [hub](https://hub.nspawn.org/images/)
* [tutorial](https://blog.selectel.com/systemd-containers-introduction-systemd-nspawn/)
* [docker nspawn](https://seanmcgary.com/posts/run-docker-containers-with-systemd-nspawn)
* [debian](https://wiki.debian.org/nspawn)
* [arch](https://wiki.archlinux.org/title/systemd-nspawn#Use_a_%22macvlan%22_or_%22ipvlan%22_interface)
* [systemd-sysext](https://0pointer.net/blog/testing-my-system-code-in-usr-without-modifying-usr.html)
* [schroot](https://wiki.debian.org/RichardDarst/Schroot)


