Linuxkit is a toolkit for building custom minimal and immutable Linux distributions. It allows building Linux distributions from code in a declarative YAML file. The distributions are built as Docker images for security and portability. Linuxkit uses containerization to build the OS, making it modular and customizable. It aims to provide secure defaults without compromising usability through immutable infrastructure principles.