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
20082026
-
…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
comment by tkocmathla · 2026-04-18 · in Show HN: Smol machines – subsecond coldstart, portable virtual machines -
…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.…
comment by TheDong · 2026-01-26 · in The Holy Grail of Linux Binary Compatibility: Musl and Dlopen -
…[1] or dockerc [2]? [1] https://github.com/rzane/docker2exe?tab=readme-ov-file#embed... [2] https://github.com/NilsIrl/dockerc
comment by mrbluecoat · 2025-09-09 · in Show HN: Bottlefire – Build single-executable microVMs from Docker images -
See also: dockerc https://github.com/NilsIrl/dockerc
comment by isaacimagine · 2025-05-07 · in docker2exe: Convert a Docker image to an executable -
Good friend built dockerc[1] which doesn't have this limitation! [1]: https://github.com/NilsIrl/dockerc
comment by arjvik · 2025-05-07 · in docker2exe: Convert a Docker image to an executable -
Flatpak isn't really intended for command-line apps. Maybe this is where something like dockerc ( https://github.com/NilsIrl/dockerc ) can shine?
comment by xena · 2024-06-16 · in Packaging Swift Apps for Alpine Linux -
…to embed files * Makes it incredibly easy to make static binaries [0]: https://treehacks.com/ [1]: https://github.com/NilsIrl/dockerc/blob/68b0e6dc40e76c77ad0c...
comment by NilsIRL · 2024-03-07 · in Show HN: dockerc – Docker image to static executable "compiler" -
Yep, this is a known issue. It also existed in the past with normal docker. https://github.com/NilsIrl/dockerc/issues/6
comment by NilsIRL · 2024-03-07 · in Show HN: dockerc – Docker image to static executable "compiler" -
…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...
comment by NilsIRL · 2024-03-06 · in Show HN: dockerc – Docker image to static executable "compiler" -
Yep! It works with any docker image!* *: https://github.com/NilsIrl/dockerc/issues/6
comment by NilsIRL · 2024-03-06 · in Show HN: dockerc – Docker image to static executable "compiler" -
…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/ )
comment by NilsIRL · 2024-03-06 · in Show HN: dockerc – Docker image to static executable "compiler"