Hacker News new | ask | show | jobs
by endofreach 406 days ago
> You can have a full and extensive api backend in golang, having a total image size of 5-6MB.

So people are building docker "binaries", that depend on docker installed on the host, to run a container inside a container on the host– or even better, on a non-linux host, all of that then runs in a VM on the host... just... to run a golang application that is... already compiled to a binary?

1 comments

Sure but a Docker setup is more than just running the binary. You have setup configs, env vars, external dependencies, and all executed in the same way.

Of course you can do it directly on the machine but maybe you don't need containers then.

In the same vein: people put stuff within a box, which is then put within another bigger box, inside a metal container, on top on another floating container. Why? Well, for some that's convenient.