News for hackers. Stuff that matters.
Re:Tiny Container Challenge: Building a 6kB Containerized HT... by fouc on Thursday April 22, 2021 @03:49AM (#26899979)
1.0MB is quite large compared to 6.34kB :)
Re:Tiny Container Challenge: Building a 6kB Containerized HT... by paulfurtado on Thursday April 22, 2021 @04:43AM (#26900356)
It definitely is, although a cool thing about busybox is that you can rebuild it with any applets disabled. I'm not sure just how small it can get though.

But yeah, the tradeoff of that 1MB is that you get a very functional shell environment vs just an http server. It's impressive just how small ut is, given everything that it is capable of

Re:Tiny Container Challenge: Building a 6kB Containerized HT... by shakna on Thursday April 22, 2021 @05:29AM (#26900633)
> It definitely is, although a cool thing about busybox is that you can rebuild it with any applets disabled. I'm not sure just how small it can get though.

They do distribute statically linked individual binaries [0]. For just HTTPD and nothing else is about 85kb. But it is a lot more than just a static file server - it comes with CGI support.

[0] https://www.busybox.net/downloads/binaries/1.30.0-i686/

Re:Tiny Container Challenge: Building a 6kB Containerized HT... by js8 on Thursday April 22, 2021 @12:42PM (#26904824)
> But yeah, the tradeoff of that 1MB is that you get a very functional shell environment vs just an http server. It's impressive just how small ut is, given everything that it is capable of

Maybe.. I suspect a well-designed Forth image could pack similar capability in less than 100kB. So it might seem low, but not a miracle.

Re:Tiny Container Challenge: Building a 6kB Containerized HT... by whizzter on Thursday April 22, 2021 @04:37AM (#26900311)
Certainly, I think this is more about getting over the developer pain threshold. In terms of computer speed vs human perception I don't see either one mattering too much (compared to a 900meg base for node-debian on Docker, although I guess there is some incremental stuff for that?).