aboutsummaryrefslogtreecommitdiff
path: root/nspawn.wiki
blob: 9a9994c0316b24588592ed3960a111562baae4a2 (plain)
1
2
3
4
5
6
7
8
{{{
debootstrap bullseye /var/lib/machines/debian-bullseye.base
systemctl-nspawn --template=EXISTING_OS_TREE -D /var/lib/machines/NEW_MACHINE
}}}

overlayfs doesn't work with containers, due to something with UID/GID shift

btrfs subvolumes should be used for templates, since those enable COW.