Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

smallest OS possible is no OS , second best which I use is tianon/true image from docker registry, 125 bytes, with my compiled golang app as binary image size under 5 mb, https://registry.hub.docker.com/u/tianon/true/

reference https://github.com/senthilnayagam/godockersample

edit: added a implementation link



This is talking about OSs to run containers not to run in them. And why do you need true?


Apparently AWS does not support the minimal Scratch image this is based on.


You can create scratch with

tar cv --files-from /dev/null | docker import - scratch




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: