86
submitted 2 days ago* (last edited 2 days ago) by captcha_incorrect@lemmy.world to c/selfhosted@lemmy.world

tl;dr: Proxmox or bare metal? Containers yes/no? What is your use case?

I used a Dell R710 when I first started self-hosting, it ran ESXi with one VM for each service I wanted. Restarting the server required me to first shutdown each VM in order and then the whole host. When setting up a new service to host I had to create a new VM (allocate RAM, disk etc), install the OS (I ran Debian) and then follow instructions for how to setup the service. This mostly was not a problem but one software I never managed to get working was Apache Guacamole.

Nowadays I have a Dell Optiplex I salvaged for parts, got a new case and all my HDDs from my R710. Because it has much less RAM and an old Intel i5 (6th or 7th generation), I decided to get into Docker. With Docker containers you write your compose file and it will just work. No more need to dig through documentation for which version of a dependency to use, how to handle if two services on the same host need different versions (this was part of the reason for one VM/service). With Docker, I can try out a software in seconds and have it configured to my liking in minutes.

Today I have NixOS (bare metal) and it comes with Podman which uses systemd. Hence restarting my OS (albeit not that often, almost never unless I mess up my config) is a no-brainer because Podman via systemd will manage everything. Adding, stopping or removing containers in general is easy. I have a script running as a service which will stop a container, create a BTRFS subvolume snapshot, start the service again and start borg backup to backup from the snapshot.

For me using Proxmox would just an extra layer of complexity I don't need. I only have one server and I am the only user.

Questions:

  • Do you use Proxmox instead of a bare metal installation?
  • Do you use containers or do you install manually?
  • What is you use case that requires your setup the way it is?
top 50 comments
sorted by: hot top new old
[-] lka1988@lemmy.dbzer0.com 3 points 13 hours ago* (last edited 13 hours ago)

Proxmox is a hypervisor, while docker is containerization.

Comparing them is like comparing an apple to a glass of milk. They have different use cases.

I run multiple VMs specifically for Docker services. I run other VMs for other things. And LXCs for applications where containerization makes sense but I don't want to use Docker.

[-] No_Bark@lemmy.dbzer0.com 3 points 18 hours ago* (last edited 18 hours ago)

I like running docker containers inside of specific unprivileged LXCs on my proxmox host. Why? Because it works and I'm not an expert.

I can spin up a new LXC and test things without fucking up my entire server. It allows me the flexibility to try new services or attempt things that I'd otherwise be too timid to try on the chance it fucks up my entire system and I have to spend two and half weekends trying to get back to where I was when things just worked.

[-] hirihit640@sh.itjust.works 7 points 1 day ago

Security is a big reason to use VMs. Containers share the kernel with the host. That means that any of the kernel vulnerabilities from this year (like DirtyFrag and CopyFail) could have been used to compromise your host. Once the host is compromised, the only way to be safe is to literally buy a new machine. Seriously. Viruses can bury deep and even infect the motherboard firmware to persist indefinitely.

Kernel vulnerabilities are frequent enough that I find VMs worth it. I still use containers in my VMs though.

[-] chepdamona@sh.itjust.works 6 points 23 hours ago

Do you have any sources on motherboard firmware viruses? I'm curious to know more about them

[-] suicidaleggroll@lemmy.world 27 points 1 day ago* (last edited 1 day ago)

It's not an either-or scenario. Running services in Docker/Podman is great and makes a lot of sense, as you've found. But there's no reason the OS running those Docker containers can't be a VM on a hypervisor like Proxmox. Then you get the simplicity of Docker, in addition to the isolation and segmentation (network and process) provided by VMs, and snapshot-based incremental backups from PBS. It's the best of both worlds. You wouldn't have a VM per service like you ran before, instead you'd have a VM per group of related services with common networking and security requirements. For example, all of your publicly exposed services can run in Docker in their own isolated VM that's walled off from the rest of your network, while your internal-only services also run in Docker, but on a separate VM on your internal network.

[-] WeirdGoesPro@lemmy.dbzer0.com 38 points 1 day ago* (last edited 1 day ago)

I used to be bare metal Debian, but I moved to ProxMox for a few reasons.

  1. Backup and restore is a breeze, and the UI makes things human friendly.
  2. It makes it easier to separate my wiki notes in an LXC so that I can still see them if I’m doing maintenance on my main server VM that requires restarts.
  3. There is essentially no noticeable performance reduction.

It works, it’s easy, and the simplicity has saved my butt a few times. I don’t think I’ll be switching, and I’d recommend it to anyone running a homelab. I still use docker to manage most of my services inside a VM.

[-] trilobite@lemmy.ml 3 points 21 hours ago

I secon running docker apps on a Proxmox VM. It has saved my homlab admin time significantly.

[-] hirihit640@sh.itjust.works 1 points 1 day ago

Why not put your wiki notes on your admin machine (whatever machine you use to manage the proxmox server)?

[-] WeirdGoesPro@lemmy.dbzer0.com 1 points 22 hours ago

I could, but it’s more convenient for me to have it served up by an LXC container on the server. I’m usually interacting with things on a laptop or a phone, so it’s just easy being able to have a tab open with my wiki served through Tailscale, and ProxMox makes sure it stays backed up to an external drive and the cloud so I don’t lose anything.

The few times I’ve had a critical error with ProxMox, it’s been super simple to do a fresh install and just restore my daily backup.

There are many ways it could be done, but this way has been mine, and it’s worked for me.

[-] retry1203@lemmy.ca 19 points 1 day ago

I like the flexibility that proxmox provides me. I do this as a hobby and I'm self taught. I can try a bunch of things and if I mess up I can start over without much hassle.

[-] atzanteol@sh.itjust.works 20 points 1 day ago

I'll die on this hill.

Containers run on "bare metal" in the same way that other processes on your system run.

[-] thenextguy@sh.itjust.works 13 points 1 day ago

Who was saying it was otherwise? Containers are not virtualization and never have been.

[-] atzanteol@sh.itjust.works 3 points 1 day ago

Maybe I misunderstood - The "NixOS (bare metal)" seemed to imply to me that the containers were not bare-metal by omission. If not then my complaint is retracted.

[-] statelesz@slrpnk.net 3 points 1 day ago

Well, they are just in a separate namespace.

[-] tofu@lemmy.nocturnal.garden 28 points 2 days ago

I use both. The main benefit of proxmox is having VM snapshots/daily backups, if you mess up, just restore the whole thing. You also have stricter isolation, e.g. put public facing containers in one VM and local only stuff in another.

Also has high availability if you have multiple nodes but that can be achieved with container orchestration as well.

load more comments (2 replies)
[-] btsax@reddthat.com 6 points 1 day ago

Podman sounds like a podcast about other podcasts

[-] SirLeToet@lemmy.world 1 points 1 day ago

Docker has its uses, but it has gone to far.

I already have a webserver with Apache, mariadb and everything. Why does your PHP based website only come as a docker solution? Fuck you.

When you go all in with docker, it quickly becomes a mess with rando NICs and containers named "random 32 character string" and dependencies up the wazoo. Ending up running ancient packages because the developer refuses to apt upgrade their shit.

Proxmox or any other hypervisor platform gives you control. Whereas you have to take it for docker and youre still at the mercy or the developers to keep your shit secure.

[-] GreenKnight23@lemmy.world 5 points 20 hours ago

all the problems you expressed with docker aren't real problems.

I think you may not like it because you don't know how to use it.

don't like how often a maintainer updates their images? build your own.

don't like having multiple bridge interfaces on your host? configure and manage networks within docker and assign them to your containers.

don't like having dozens of containers with random names? use docker compose. bonus, you can set up networking with it even easier.

[-] Lee@retrolemmy.com 7 points 23 hours ago

Years ago I'd have one PHP app that required version X of PHP and another that required version Y and my distro often only had one of them (or you couldn't install both simultaneously), so I'd have to either compile myself (or later use a 3rd party repo). All solvable of course, but then throw in MySQL version requirements and PHP extensions and it's just extra crap that containers just take care of for you. I've had this kind of inter app requirements conflicts with stuff other than PHP, but I've had by far more of it with PHP. For a while I used FreeBSD jails to help, but jails was kind of a pain. I enthusiastically embraced docker for PHP stuff early on.

A benefit for application developers, particularly PHP is there's a lot of differences between distros and how people install and configure PHP. Even like which PHP extensions are available and their settings. Other languages things tend to be more consistent at the system level and customizations are app are usually application level (contrast with PHP extensions and system level configurations). It really helps reduce support issues due to distro/user differences if a developer just provides a working dockerfile as a reference implementation and in my experience this is far more likely with PHP than other languages. I realize this is mostly applicable outside of PHP, but I actually personally see more benefit with PHP based on my past experiences.

[-] 3abas@lemmy.world 2 points 18 hours ago

Ending up running ancient packages because the developer refuses to apt upgrade their shit.

Tell me you never really had to deal with dependency hell without telling me. That's literally the main problem docker solves.

[-] scottmeme@sh.itjust.works 11 points 1 day ago

Proxmox running LXC's and VM's, all of them also have docker installed

Having to manually start and stop your VMs is very atypical, proxmox can absolutely handle that itself

Proxmox with Kubernetes and containerization can allow you more easily manage your services and to have less downtime. But, as you said, it adds another layer. Is it worth the time to set it up? Over a long period, yes.

As a DevOps/Developer/Sysadmin, I'd probably use it if I set up a lot of services. If I just have some kind of file share thing, probably not.

[-] lemmyvore@feddit.nl 7 points 1 day ago

You should be using them depending on your needs. There's a difference between app containers (single app per container), system containers (multiple apps in the same container) and VMs (OS + whatever, virtualized rather than containerized).

You probably need app containers most of the time so docker or podman is a good fit. But sometimes you might feel more confortable with another level of abstraction. Tools like Proxmox or Incus make it easy to manage "system"-level abstractions like system containers (with LXC) or VMs (with KVM) and give you a unified management approach.

You don't have to give up app containers either. You can run docker or podman inside an LXC system container and have the best of both worlds.

Deciding when to take advantage of the system abstraction is the hard part. A simple rule of thumb is to do it when you'd like to manage the "machine" that holds the stack in a way that's different from the host. Maybe you want to run a different Linux distro; maybe it's the same distro as the host but you want to organize it differently; maybe you need to run a non-Linux OS.

[-] Alvaro@lemmy.blahaj.zone 6 points 1 day ago

Generally speaking:

  • just want it to work with minimal effort: containers
  • need very custom things, or very high efficiency: bare metal
  • need high security, emulating bare metal, or like to do extra IT work: virtualization

Generally, these days, containers win 99% of the time as the best home lab backbone.

[-] neidu4@piefed.social 3 points 1 day ago
  • No
  • Manual only
  • Because I'm old and crusty, and always rawdogged service setups. I'm sure containers are nice and all, I just never got around to learning them properly.
[-] realitaetsverlust@piefed.zip 7 points 1 day ago

I use proxmox for basically anything in my homelab, but there's no particular reason. I use it because it does what I need. It supports VMs in case I need a bit more control over what runs in the system (like a Windows VM) and it supports LXCs that fundamentally work like docker with less configuration steps. It provides a nice webUI if I need to check up on some things and an API so I can orchestrate all my systems with terraform.

It does the job and I never saw a reason to switch away from it.

[-] gabbath@lemmy.world 2 points 1 day ago

Proxmox exclusively with unprivileged LXCs, which themselves host other docker containers/stacks managed with Dockhand (a more modern alternative to both Portainer and Dockge). I have a very tiny low power machine so I have to be kind with my resources, therefore no VMs. But LXCs are simpler anyway. I can easily pass devices like /dev/tun for tailscale and i forget the name of the iGPU for accelerated workloads (for Immich, Nextcloud).

Reasoning: with containers it's easy to make mistakes without dire consequences (just docker compose down -v and start over). The LXCs are easy to back up and restore. They hold internal running state of whatever docker containers I run in them.

Pro tip: don't map host paths using the UI (mp0 etc), use lxc.mount instead. This will let you continue to have snapshots of your LXCs whereas the other approach makes your LXC incompatible with snapshots.

Good luck!

[-] Bronzie@sh.itjust.works 3 points 1 day ago

Proxmox with LXC’s and a few VM’s.
Often with Portainer as well.

It’s just nice to use and easy to automate backups.

I used to run barebone on Debian, but I accepted that I’m not good enough in the terminal and to used to graphical solutions to go back.

[-] ExLisper@lemmy.curiana.net 2 points 1 day ago

Proxmox with VMs running Docker using Cosmos.

Pros: backups, easy VM management, easy disk management.

Install incus on your OS of choice to manage LXCs and VMs, it’s ideal!

No need to chain yourself to an OS that is rolling on the free branch, get stability and control!

As for LXCs vs Podman containers, seems it is preference of control. LXCs are little OSes you need to keep up to date, containers need to be rebuilt to keep up to date. (I think only Linuxserver images actually rebuild just for base OS updates, hopefully the reverse proxy and authentication images too)

Podman brings some nice networking, read-only features, and user abstraction with it, I think that helps it push ahead.

That said, LXCs are little OSes and that flexibility can be very useful. For instance, incus is able to make an LXC with a unique Mac from an Ethernet adapter - I haven’t cooked how to do that with Podman yet. So I run my DNS from there so it doesn’t mess with my server’s DNS port.

[-] statelesz@slrpnk.net 5 points 1 day ago

I'm running Docker inside a Debian VM on Proxmox and I forgot why. Next time I'd just run Docker on Debian.

[-] horus_son_of_isis@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

I started with docker desktop on windows for a year. Got tired of resources redlining because windows is greedy. Tried proxmox and just couldn't get past the setup (don't remember which part). Anyway, running headless Debian with docker is working really well for about 2 months now. Between cockpit and my codeserver container I can get most anything done through gui. I even installed comai llm on my mint desktop machine to help me with commands.

[-] statelesz@slrpnk.net 2 points 1 day ago

Sounds great. I can recommend Dockhand for monitoring and managing Docker containers.

[-] horus_son_of_isis@lemmy.world 1 points 22 hours ago

How's it compare to Portainer? I hear Portainer is about to be enshitified.

[-] statelesz@slrpnk.net 2 points 21 hours ago

Hard to describe, it's better to take a look at it.
https://github.com/Finsys/dockhand#screenshots

[-] Svinhufvud@sopuli.xyz 6 points 2 days ago

Check out the krun runtime for podman, if you want stronger container isolation from the host. It creates a small VM for each container. Gpu passthrough on linux is limited though.

[-] hamsda@feddit.org 6 points 2 days ago

I use Proxmox with a VM for each service I provide and I still use docker compose.

This way I have nice VM backups (with Proxmox BS) + dockerized services deployed via GitLab CI pipelines.

[-] jobbies@lemmy.zip 2 points 1 day ago* (last edited 1 day ago)

• Yes, but I also use podman on another machine.

• Proxmox server hosts LXC's and a few VMs.

• Proxmox makes it extremely easy to run and manage containerised workloads. Set it up in a flash and it runs happily, no intervention necessary. Podman containers on the other hand can be tricky to set up, but I prefer the controls I have on that machine. If it needs to be secure I Podman it, if not I just stick it in a Proxmox LXC.

[-] vk6flab@lemmy.radio 7 points 2 days ago* (last edited 2 days ago)

I moved from VMware Fusion after a hardware failure and migrated to Proxmox. I use VMs to isolate client information and to test and use different OS versions and distros.

I have a VM that runs Docker and connect to it via SSH for running applications I don't want to install on my main workstation.

My main workstation is also a VM.

I came from bare metal Linux for years and found that I spent too much time recompiling kernels to make it work with my hardware.

Now that everything is a VM, changing underlying hardware, and even hypervisor is trivial.

If VMware hadn't been bought by Broadcom and allowed me to virtualise x86 on Apple Silicon, I'd still be running VMware Fusion. UTM by the way is completely unreliable .. I really tried.

As it is, I'm running Proxmox on AMD.

in summary, Proxmox allows me to build what I need when I need it virtually and it's running on a standard Debian host.

Edit: #$#__# autocorrect (unreadable -> unreliable)

[-] Lemmchen@feddit.org 6 points 2 days ago

I like Proxmox for it's first-class treatment of ZFS. You can easily run Docker/Podman on top of it or in a VM. Proxmox has some other advantages like replication and clustering, but I'd say you don't need that in a home setup (at least I don't).

If I had to redo my setup today, I'd probably give TrueNAS SCALE a chance though.

load more comments (1 replies)
[-] JoMiran@lemmy.ml 4 points 1 day ago

I use Proxmox as a VDI server. I understand that this isn't homelab territory, but selfhosted VDIs have proven exponentially more reliable and easier to manage than cloud based ones (after the initial PitA setup). Flawless copy/paste, screen resize, and most importantly, file transfers. When you connect to 12 different clients, each with a different set of security requirements, system hardening, monitoring, and VPN access, being able to console amd fully interact with a sandboxed desktop becomes priceless.

[-] airgapped@piefed.social 5 points 2 days ago

I used to run bare metal monolith container host and it worked pretty well but eventually network configurations started tripping over each other and causing real issues (complicated by me running rootless Podman and wanting to run K3s cluster etc). I wanted to run Proxmox native containers but it turns out they run full root therefore breakout in one container means full host access, so now I run VMs as container hosts.

[-] db_geek@norden.social 5 points 2 days ago

@captcha_incorrect Currently I'm running my personal services similar to you using Podman Quadlets and I really like it.
I have also a testing installation of Proxmox on another system, but I'm also not so clear, if it would be a good way for my purposes.

load more comments
view more: next ›
this post was submitted on 24 Sep 2026
86 points (93.9% liked)

Selfhosted

62308 readers
686 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS