Hacker GitHub

← All repos

NilsIrl/dockerc

View on GitHub ↗ ★ 4,915 Zig

container image to single executable compiler

12 mentions on Hacker News by 7 people: 1 story, 11 comments · first 2024-03-06 · latest 2026-04-18

Mentions per year 12 mentions · busiest year 2024 (7)
20082026
  1. …the idea of using this to distribute applications you might otherwise use a Docker image for. [0] https://github.com/NilsIrl/dockerc [1] https://github.com/smol-machines/smolvm/issues/159
  2. …pack 4. A small collection of random small projects hardly anyone uses for docker to do this (i.e. https://github.com/NilsIrl/dockerc ) 5. A docker image (a package that runs everywhere, assuming a docker runtime is available) 6.…
  3. …[1] or dockerc [2]? [1] https://github.com/rzane/docker2exe?tab=readme-ov-file#embed... [2] https://github.com/NilsIrl/dockerc
  4. See also: dockerc https://github.com/NilsIrl/dockerc
  5. Good friend built dockerc[1] which doesn't have this limitation! [1]: https://github.com/NilsIrl/dockerc
  6. Flatpak isn't really intended for command-line apps. Maybe this is where something like dockerc ( https://github.com/NilsIrl/dockerc ) can shine?
  7. …to embed files * Makes it incredibly easy to make static binaries [0]: https://treehacks.com/ [1]: https://github.com/NilsIrl/dockerc/blob/68b0e6dc40e76c77ad0c...
  8. Yep, this is a known issue. It also existed in the past with normal docker. https://github.com/NilsIrl/dockerc/issues/6
  9. …automagically mounting filesystems? Yep, inside of the Linux kernel. Here's what PID 1 looks like: https://github.com/NilsIrl/dockerc/blob/non_linux/src/init.z...
  10. Yep! It works with any docker image!* *: https://github.com/NilsIrl/dockerc/issues/6
  11. …the bug report! Just pushed a change that fixes it (and made a new release with the issue fixed: https://github.com/NilsIrl/dockerc/releases/ )
  12. ▲ 374
    Show HN: dockerc – Docker image to static executable "compiler"
    story by NilsIRL · 2024-03-06 · 135 comments