News for hackers. Stuff that matters.
Re:Does Your Startup Need Complex Cloud Infrastructure? by hello0904 on Friday September 13, 2024 @06:22AM (#41529793)
Well designed, written and efficient...middleware. It's a wrapper around linux and a middle between my OS and my app! A spade is a spade.

There are cons beyond performance. For example Docker complexity - you need to learn a new filetype, a new set of commands, a new architecture, new configurations, spend hours reading another set of documentation. Buy and read another 300 page O'Reily book to master and grasp something that again has Pro's and Con's.

For me? It's not necessary and I even know some Docker Kung-Fu but choose not to use it. I do use Docker Desktop occasionally to run apps and services on my localhost - it's basically a Docker Compose UI, and I really enjoy it.

Re:Does Your Startup Need Complex Cloud Infrastructure? by ownagefool on Friday September 13, 2024 @07:01AM (#41529999)
A wrapper CLI that produces the same outcome wouldn't really be considered middleware, which surely should affect runtime?
Re:Does Your Startup Need Complex Cloud Infrastructure? by j-krieger on Friday September 13, 2024 @11:18AM (#41532019)
> It's a wrapper around linux and a middle between my OS and my app

No. Docker doesn't "wrap" anything, and it certainly does not wrap Linux. Please reconsider looking at the documentation. It uses native kernel features. SystemD does a similar thing.

> For example Docker complexity - you need to learn a new filetype, a new set of commands, a new architecture, new configurations, spend hours reading another set of documentation

I can't say I agree.

Re:Does Your Startup Need Complex Cloud Infrastructure? by icedchai on Friday September 13, 2024 @12:34PM (#41532785)
Docker is native Linux. Your app uses the same kernel as the host. Is "chroot" middleware? No. Neither is docker.
Re:Does Your Startup Need Complex Cloud Infrastructure? by consteval on Friday September 13, 2024 @03:42PM (#41534462)
It does require a running daemon. Other solutions, like podman, do not. There is an overhead associated with docker.
Re:Does Your Startup Need Complex Cloud Infrastructure? by icedchai on Friday September 13, 2024 @06:02PM (#41535606)
Yes, but containers do not incur overhead because of the daemon. It is there for management purposes. In other words, system calls / network access / etc are not going "through" the daemon.