Re:Show HN: dockerc – Docker image to static executable "com...
by lyeager on Wednesday March 06, 2024 @07:04PM
(#39623443)
Enroot can do something similar: https://github.com/NVIDIA/enroot/blob/v3.4.1/doc/cmd/bundle....
[ Parent
| on HN ]
Re:Show HN: dockerc – Docker image to static executable "com...
by NilsIRL on Wednesday March 06, 2024 @10:51PM
(#39624880)
That's really cool. I didn't know about that. Thanks for sharing.
There's a few things that seem to make it unsuitable for the intended use case of dockerc:
* The container extracts itself which means there is quite a bit of overhead for large images. dockerc-built executables have the same startup time whether the image is 2.2GB or 25MB.
* The executables produced by enroot don't seem suitable for running standalone. At least the example doesn't seem to suggest so.