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 sylver_dragon on 2024-12-22 at 13:44

I see containers as having a couple of advantages:

That all said, if an application does not have an official container image, the added complexity of creating and maintaining your own image can be a significant downside. One of my use cases for containers is running game servers (e.g. Valheim). There isn’t an official image; so, I had to roll my own. The effort to set this up isn’t zero and, when trying to sort out an image for a new game, it does take me a while before I can start playing. And those images need to be updated when a new version of the game releases. Technically, you can update a running container in a lot of cases; but, I usually end up rebuilding it at some point anyway.

I’d also note that, careful use of VMs and snapshots can replicate or mitigate most of the advantages I listed. I’ve done both (decade and a half as a sysadmin). But, part of that “careful use” usually meant spinning up a new VM for each application. Putting multiple applications on the same OS install was usually asking for trouble. Eventually, one of the applications would get borked and having the flexibility to just nuke the whole install saved a lot of time and effort. Going with containers removed the need to nuke the OS along with the application to get a similar effect.

At the end of the day, though. It’s your box, you do what you are most comfortable with and want to support. If that’s a monolithic install, then go for it. While I, or other might find containers a better answer for us, maybe it isn’t for you.

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

Toot

Written by Mac on 2024-12-22 at 19:09

Man back when I played there was a community image at least

=> More informations about this toot | More toots from macgyver@federation.red

Descendants

Written by sylver_dragon on 2024-12-22 at 20:04

I’m sure there are several out there. But, when I was starting out, I didn’t see one and just rolled my own. The process was general enough that I’ve been able to mostly just replace the SteamID of the game in the Dockerfile and have it work well for other games. It doesn’t do anything fancy like automatic updating; but, it works and doesn’t need anything special.

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

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

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