FreedomAdvocate@lemmy.net.au 2 weeks ago
Containerisation is all the rage, but in reality it’s not needed at all for all but a tiny number of self hosters. If a native program option exists, it’s generally just easier and more performant to use that.
Docker and the like shine when you’re frequently deploying and destroying. If you’re doing that with your home server you’re doing it very wrong.
I like docker, I use it on my server, but I am more and more switching back to native apps. There’s just zero advantage to running most things in docker.
donalonzo@lemmy.world 2 weeks ago
Containers are as performant as a native program because they are native programs.
FreedomAdvocate@lemmy.net.au 2 weeks ago
Nope. If you use docker containers on windows or mac, they’re running using an abstraction layer. Docker is the native app, but what’s running inside them isn’t. At best they are nearly identical in performance with negligible hit to performance, but as soon as you use things like port forwarding the performance takes a hit.
stackoverflow.com/…/what-is-the-runtime-performan…