The demo_multistrap.sh script is a simple example of running multistrap.
Compared to the details in the slides, this example has:
While it is intended to be simple and clear enough to understand, it also includes some extra steps to try and make the process failsafe.
The script requires a dpkg based distribution to work and should run with no issues on recent Debian or Ubuntu.
Running the script will:
After successfully finishing, there will be a new base filesystem in the /var/lib/container-example/example2 directory