10
VM vs Docker container (lemmy.procrastinati.org)

Hi. I currently run plex in a kvm VM. Have for years without any real trouble. I'm in the process of refreshing my homelab and replacing the plex VM is next on my list.

I'm curious if there are any pros or cons to running Plex in a docker container vs it's own dedicated VM? Is there anyone here who's done both and saw a difference?

all 9 comments
sorted by: hot top controversial new old
[-] joshzcold@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

If you have multiple media apps. Say radarr, sonarr. You will thank yourself later if you set up all of those in docker-compose, save the configuration to git, mount the storage to something like /media in the container. That means next time you have to set this up again it will automatically be ready.

I had previous work experience, but setting up containers vs VMs was way faster. The permissions of the media between multiple apps was never messed with which saved me from frustrating issues between applications.

[-] ChrisLicht@lemm.ee 2 points 1 year ago

Where does one learn how to work with containers this way? I have run Kodi and then Plex for over 10 years on SBCs, but I don’t know how to do any of this.

[-] chris@programming.dev 1 points 1 year ago

This is the way.

[-] chris@programming.dev 3 points 1 year ago* (last edited 1 year ago)

Real world actual difference? No, not much. The big benefit is in the updating of all the software. I run Plex, sonarr, radarr, jackett, qbittorent, Grafana, Prometheus, blackbox, nginx, and a few other Docker containers on a pretty plain Ubuntu server. One command to update the OS, another to pull new containers, a periodic reboot for the OS changes and Robert is your mother’s brother. Way easier than running all software independently on a VM.

Edit: oh, and suffer some type of catastrophic issue or have a software update go sideways? You are 30 minutes away from just reinstalling the OS, add docker and reapply your docker-compose script.

I appreciate everything you're saying. Docker has only been in my toolbox for a month or two but I've had a lot of success so far in standing up new things using it. Now that I understand it better, I'm reassessing the things I've run in KVM for years and debating if it makes sense to switch any of them to containers. I've already moved some containers around so I can see the simplicity/convenience of it.

It sounds like, from the feedback I've gotten in this thread, that there's no significant functional/performance difference between the two. It's just going to be a matter of what works best for me.

[-] Zikeji@programming.dev 2 points 1 year ago

I backup all my configs and their data daily. Last time I had to migrate hosts it took me 30 minutes of actual work to migrate over a dozen various self hosted apps, GitLab and Plex included.

[-] chris@programming.dev 1 points 1 year ago

Pre.cise.ly

[-] carl_dungeon@lemmy.world 3 points 1 year ago

Plex upgrades on my nas via docker are so easy, it’s just a container restart. I’d go docker.

this post was submitted on 25 Aug 2023
10 points (100.0% liked)

plex

576 readers
1 users here now

🏳️‍🌈🏳️‍🌈 HAPPY PRIDE 2024! 🏳️‍🌈🏳️‍🌈

c/plex is a community for discussing Plex Media Server. Plex Media Server is a smart software that makes playing movies, tv shows, and other media on your computer simple.

Ask questions, get support, and be part of the community here on Lemmy!

Join the c/Plex community on Matrix!

Rules

Rule 1 - Don't be a dick

Don't be a dick. This includes any kind of trolling, baiting, etc. Bigotry may result in an instant permaban.


Rule 2 - No misleading or non-descriptive titles

No misleading or non-descriptive titles. Try to be brief but detailed.


Rule 3 - Keep post and comments relevant

Posts must be related to Plex and Plex-related products, apps. etc. Try to keep comments relevant to the parent comment and to the post.


Rule 4 - Keep discussions of media acquisition limited to means and methods only.

Discussions regarding media acquisition should be limited to the how not the what, as this is not the place to discuss piracy of specific media. There are other communities for that, and we don't want to get this community defederated from instances where it's a forbidden topic. Posts/comments discussing specific acts of piracy (How do I find X show? or Where can I download Y film?)will be removed. For further clarification see this post


Rule 5 - No asking / offering Plex shares.

No asking / offering Plex shares. There are other communities for that.


Rule 6 - No low-effort / spam / meme posts

No low-effort / meme posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Rule 7 - No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts

No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Useful Resources


^This^ ^is^ ^a^ ^community^ ^page^ ^and^ ^is^ ^not^ ^affiliated^ ^with^ ^Plex,^ ^Inc.^ ^in^ ^any^ ^way.^

founded 1 year ago
MODERATORS