3 ms·
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
by senthilnayagam 11y ago
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/ https://registry.hub.docker.com/u/tianon/true/
reference
https://github.com/senthilnayagam/godockersample https://github.com/senthilnayagam/godockersample
edit: added a implementation link
- justincormack 11y agoThis is talking about OSs to run containers not to run in them. And why do you need true?
- sime 11y agoApparently AWS does not support the minimal Scratch image this is based on.
- justincormack 11y agoYou can create scratch with tar cv --files-from /dev/null | docker import - scratch