Ancestors

Written by machinin@lemmy.world on 2024-12-22 at 10:21

Docker on VM vs bare install on VM

https://lemmy.world/post/23413638

=> More informations about this toot | More toots from machinin@lemmy.world

Written by Voroxpete@sh.itjust.works on 2024-12-22 at 10:37

Personally, I always like to use containers when possible. Keep in mind that unlike virts, containers have very minimal overhead. So there really is no practical cost to using them, and they provide better (though not perfect) security and some amount of sandboxing for every application.

Containers mean that you never have to worry about whether your VM is running the right versions of certain libraries. You never have to be afraid of breaking your setup by running a software update. They’re simpler, more robust and more reliable. There are almost no practical arguments against using them.

And if you’re running multiple services the advantages only multiply because now you no longer have to worry about running a bespoke environment for each service just to avoid conflicts.

=> More informations about this toot | More toots from Voroxpete@sh.itjust.works

Written by machinin@lemmy.world on 2024-12-22 at 11:48

Copying a response I wrote on another comment -

Thanks for this - the one advantage I’m noticing is that to update the services I’m running, I have to rebuild the container. I can’t really just update from the UI if an update is available. I can do it, it is just somewhat of a nuisance.

How often are there issues with dependencies? Is that a problem with a lot of software these days?

=> More informations about this toot | More toots from machinin@lemmy.world

Toot

Written by Voroxpete@sh.itjust.works on 2024-12-22 at 15:32

There’s no good answer to that because it depends entirely on what you’re running. In a magical world where every open source project always uses the latest versions of everything while also maintaining extensive backwards compatibility, it would never be a problem. And I would finally get my unicorn and rainbows would cure cancer.

In practice, containers provide a layer of insurance that it just makes no sense to go without.

=> More informations about this toot | More toots from Voroxpete@sh.itjust.works

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113697198763945491
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
260.869719 milliseconds
Gemini-to-HTML Time
0.677156 milliseconds

This content has been proxied by September (3851b).