Hacker GitHub

← All repos

systemd/mkosi

View on GitHub ↗ ★ 2,046 Python

💽 Build Bespoke OS Images

12 mentions on Hacker News by 10 people: 2 stories, 10 comments · first 2023-02-06 · latest 2026-09-29

Mentions per year 12 mentions · busiest year 2025 (5)
20082026
  1. I'll give this one a try, thanks for sharing! FWIW, I'm currently using systemd-nspawn via mkosi: https://github.com/systemd/mkosi It makes an image and runs it in separate namespace. It can start at bash or init. It's very fast but there…
    comment by bita_nidir · 2026-09-29 · in Show HN: NSL – WSL for Linux
  2. I use mkosi: https://github.com/systemd/mkosi Which is just a front for systemd-nspawn. It's annoying you have to edit the config.nspawn to mount a directory if you start it with the "shell" command, instead of booting. But apart from…
  3. …excellent super slept on distro assembly tools also homed in the systemd cinematic universe, mkosi, https://github.com/systemd/mkosi
  4. …it used about the same amount of memory, maybe a little more based on how ZFS is set up. [1]: https://github.com/systemd/mkosi
  5. …a good "re-introduction" on Lennart (creator of systemd, mkosi) site, from the current maintainer. https://github.com/systemd/mkosi?tab=readme-ov-file#referenc... https://0pointer.net/blog/a-re-introduction-to-mkosi-a-tool-...
    comment by jauntywundrkind · 2025-07-16 · in Mkosi – Build Bespoke OS Images
  6. The alternative is mkosi from systemd developers https://github.com/systemd/mkosi However beware that they break backwards compatibility almost every 6 months. This is probably the most backwards-incompable project I know, you can't rely…
  7. …everything compiled in the previous stage, to the final squashfs OS file and MicroSD image. [1]: https://github.com/systemd/mkosi
  8. ▲ 2
    Mkosi – Build Bespoke OS Images
    story by tsujp · 2025-02-19 · 0 comments
  9. There's lots of tools in this space. I work on https://github.com/systemd/mkosi for example.
    comment by DaanDeMeyer · 2024-07-26 · in Unfashionably secure: why we use isolated VMs
  10. ▲ 2
    Mkosi: Build Bespoke OS Images
    story by whopdrizzard · 2023-10-08 · 0 comments
  11. …like a charm and integrates nicely in your system. Eg. logs and systemd services or CI testing. - https://github.com/systemd/mkosi - man:systemd-nspawn(1) - man:machinectl(1)
  12. Systemd's mkosi is worth checking out too: https://github.com/systemd/mkosi I don't think it generates docker/OCI images directly, but it definitely can generate a tarball of the final filesystem image contents and then crane or a similar…
    comment by qbasic_forever · 2023-02-06 · in Crafting container images without Dockerfiles