Re:Ask HN: As a solo founder, what are the reasons not to us...
by hughrr on Sunday July 18, 2021 @03:01PM
(#27875513)
Yes exactly. It's a solution to a problem.
My point is it is better to avoid the problem than employ a solution.
Re:Ask HN: As a solo founder, what are the reasons not to us...
by meowface on Sunday July 18, 2021 @04:48PM
(#27876538)
It's not easy when the only way to avoid the problem you describe is to rewrite your whole project(s) in a language like Go. I like Go and have used standalone binaries instead of Docker containers when deploying Go applications, but I don't always work with Go applications.
As other posters said, Docker largely exists to help with any situation where you don't have a single binary. These situations are still very common for many developers and devops engineers. And in those cases, Docker can be very helpful.
In addition to that, with cgroups and namespaces you get a lot of other benefits, which can be used with eg: systemd/etc but it's nice when one tool handles all of it.