LinuxKit builds small Linux systems for containers
Summary
Docker presents LinuxKit as a toolkit for minimal, immutable and reproducible Linux images on different platforms. LinuxKit was presented at DockerCon in 2017. The project is licensed under an Apache licence.
Ideas
- LinuxKit assembles system services from separate containers.
- Minimal images only contain explicitly selected components.
- Declarative YAML files describe reproducible system compositions.
- Output can be produced for bare metal, virtual machines and clouds.
Insights
- An operating system can be built like a versioned software artefact.
- Small images reduce the attack surface and require precise operational features.
- Isolating components within the host limits the lateral spread of failures.
Facts
- Its development takes place publicly on GitHub.
Recommendations
- Pin the versions of all components and sign the generated images.
- Deliberately plan diagnostic access into minimal systems.
References
Links to the original source and the Web Archive open in a new tab.