conference logo

Playlist "All Systems Go! 2026"

single-file containers with statically linked systemd

Zbigniew Jędrzejewski-Szmek

Systemd can now be linked as a single static binary, which is enough to run a "full system" container that boots into a running manager. Transient units can then be used to do more things in the container. Thanks to systemd-nsresourced and systemd-mountfsd, this now works fully unprivileged and with no suid helpers. I want to show that this actually works and can be used for experimentation, development, and custom container images.

Licensed to the public under https://creativecommons.org/licenses/by/4.0/de/