Custom appliances have a substantial history in systems research and
embedded Linux. This demo combines a Linux appliance with an explicit
boot-control graph specialized by Lean. The projects and papers below
explore related ways to select OS components, tailor a VM to one
application, and remove unused code.
MirageOS: specialize the whole appliance
Madhavapeddy et al. · ASPLOS 2013
Compiles applications and OS libraries into standalone,
specialized kernels. A foundational example of constructing a
single-purpose appliance at compile time.
Unikernels: Library Operating Systems for the Cloud ↗
Unikraft: select the OS components
Kuenzer et al. · EuroSys 2021
Organizes OS functionality into selectable micro-libraries, so an
application can be built with the components it needs. Relevant
to making appliance dependencies explicit at build time.
Unikraft: Fast, Specialized Unikernels the Easy Way ↗
Tinyx & LightVM: tailor a small Linux VM
Manco et al. · SOSP 2017
Tinyx creates trimmed Linux guests tailored to an application;
LightVM streamlines Xen's VM control plane. Tinyx is a close
precedent for constructing small Linux appliances.
My VM is Lighter (and Safer) than your Container ↗
LinuxKit: assemble an immutable guest
LinuxKit project · Documentation & source
Builds minimal, immutable Linux distributions from a selected
kernel and container-based system components. A practical example
of assembling a guest from explicit component choices.
LinuxKit project & build documentation ↗
Buildroot: configure a complete Linux image
Buildroot developers · User manual
Generates toolchains, root filesystems, kernels and bootloaders
for embedded systems. Its package and kernel configuration offer
useful precedents for selecting an appliance's contents.
The Buildroot user manual ↗
TRIMMER: specialize native application code
Sharif et al. · ASE 2018
Uses supplied configuration values and program analysis to remove
functionality unused in that context. Relevant to extending the
shaker from explicit control graphs into native feature selection.
TRIMMER: Application Specialization for Code Debloating (PDF) ↗