Proxmox, first impressions
So I’m setting up a new server and for the first time in my life I’m using containers and VMs instead of just installing a bunch of stuff into one Linux system and hoping for the best. It’s working pretty well so far, wanted to write down what I’ve learned so far. I’m new to all this, not an authority.
These notes are about the Proxmox Virtual Environment, a hypervisor OS you install directly on the bare metal. Its main purpose is to then host LXC Containers and/or KVM virtual machines which are running guest operating systems for your services. It also manages storage and some networking. Proxmox has been around 15 (!) years now.
Overall Proxmox has been a good experience. It hasn’t done anything dumb or frustrating and has some very useful capabilities. I’m glad I’m trying it.

Hypervisor choice
Why Proxmox? I picked it because it’s popular in the home lab / hacker communities and I have friends who use it. I definitely don’t want or need some enterprise-grade Kubernetes solution that’s designed for managing a fleet of hundreds of machines. I’ve got one $200 server, a couple of small disks, and very low requirements. But I do want it to be easy and fun to hack. Proxmox meets that market.
One special thing about Proxmox: it has equal support for full virtual machines and simpler LXC Linux containers. You can mix both with no problems. Of course you could run KVM in any Linux system, and you can also run containers in a VM with Docker or LXD or something. But Proxmox puts both front and center as equally supported options and I like that.
There’s a bunch of other choices for hypervisors or similar setups. I briefly looked at XCP-ng (a fork of XenServer), see this analysis. But it’s a little too new and I think doesn’t directly support containers. I also gave Portainer a quick try, it’s a GUI for Docker containers, but that’s really all it is and it doesn’t quite manage a whole system. Incus does have both VMs and containers, it’s a fork of LXD, but is too new for me. VMware ESXi is popular but proprietary, I wanted open source. There’s also a lot of solutions that are more command line / config file oriented, I was looking for something with a web GUI.
Finding guest systems
One thing that worried me in picking Proxmox was where I’d find images to use for containers. I want to install a Plex server: is it going to be a lot of work manually installing or can I just push a button? I think Docker Hub sets the standard for sharing images and was worried Proxmox’ use of LXC would be a problem.
No problem. Proxmox itself comes with some templates for generic Linux systems like Alpine or Ubuntu. tteck’s helper scripts are a popular way to install some complex products: I use it for Unifi and for Plex. Turnkey Linux also works well with Proxmox, it’s a set of cross-platform VM images.
Also creating a custom guest system from scratch is really not hard. For instance I wanted a guest Samba share for my music files. So I set up Alpine, then installed Samba in 15 seconds, then configured it with a text file and I was done. Now I have a 65MB container that’s serving my music. This was certainly no harder than installing Samba on bare metal and the ability to checkpoint and tear down / rebuild this one service made it easier than worrying I might break something.
BTW Alpine is a real pleasure if you want a lightweight Linux. It’s based on Busybox, so not a great general purpose environment, but plenty good enough to run a simple server or two. A new install in a container is 10MB of disk and 2MB of RAM and has almost nothing installed but you can bootstrap from there, there’s 20,000 packages or it. A VM install is 130MB of disk and 80MB of RAM.
There’s lots of other choices for Linux in a container. See this set of images and this discussion for some other ideas. I have a couple of Ubuntu guests for a richer experience. I haven’t tried doing anything GUI.
Various choices and learnings
I am trying to enforce a rule of one container per product / service. I currently have containers for Unifi, Plex, and Samba. I need to set one up for a collection of Grafana monitoring hacks I have. I currently have a grab-bag VM which is a virtualized clone of my old server that I’m migrating stuff off of. And I also have one scratch Ubuntu container for random hacks / interactive shell stuff and one VM that is running nothing but Portainer and Docker that I’ll probably end up never using. Creating a new container in Proxmox is under 10 seconds of effort, making new ones is fun!
Proxmox has a bunch of storage management options. RAID arrays, ZFS, LVM, Ceph. I opted out of all of that. I have one simple BTRFS partition for Proxmox and one external USB drive simply mounted into the host system and then bindmounted into the guests that need access to it. Guest systems are all on virtual disks, which Proxmox manages (files in the BTRFS partition, I presume.) I will revisit my storage setup at some point, the extra stuff adds complexity but I think there’s benefits. Maybe I’ll finally have a useful full system backup. There’s even options for migrating guests and something they call “high availability”.
I’ve almost exclusively been using Proxmox with its Web GUI. That’s remarkably complete, the only thing I’ve needed a shell command for so far was creating a bindmount. But Proxmox has an extensive command line interface which most of the docs treat as the primary product. I should learn it. It also has a rich API but I’m not sure what other clients that are that use it. I need to learn this. I haven’t even read the docs through yet! The GUI is good enough I can find my way to most things. (Except changing the font for the shell terminal emulator; that was hard to find.)
I’m mostly using containers for things instead of VMs, in the theory that they are lighter weight. The LXC containers are not really inescapably secure, something you mostly mitigate by not letting the containers have anything like root access on the hypervisor (“unprivileged”). VMs are fully virtualized and more secure but also add the overhead of running an extra kernel. I don’t really care about security; my alternative here is running all the processes in a single Linux system. But I do care about enough isolation to keep things understandable.
I’m not really clear on how much overhead all this encapsulation is costing. So far I haven’t come anywhere near the limit of my 16GB of RAM, 512GB of storage, or 4 relatively slow CPUs. Proxmox puts a cap on each guest’s resources but doesn’t preallocate them, so my various service containers are only using ~10–500MB of RAM each and no appreciable extra CPU. The one full Ubuntu VM is using most of the 2GB of RAM I gave it, but half of that is for disk cache (does a VM mean I cache the same disk blocks in both the host and the guest?).
There’s also latency and jitter overhead. But maybe not much? I run some 50 millisecond-scale timing code as part of my Starlink monitoring and I have no idea how much uncertainly the containers will add to those measurements. Just eyeballing the graphs, running in a VM (on an unloaded host) doesn’t add any noticeable delays. And I’m guessing LXC doesn’t add any significant delay either.
It’s annoying how every guest OS wants a root password. There is support for ssh or direct console login but that password is still there as a primary authentication. That feels very old fashioned.
File ownership and user IDs are a total mystery to me. The Unix user model is really not very helpful in the one-container-per-service model. I’ve been ignoring the problem and using root or whatever user the image I installed created. It’s going to be an issue when I share files on disks between containers though, like that USB drive with my media on it.
I’m not sure exactly what the containerization is really getting me. End of the day I have more complexity for the same services. But.. it feels right having each product isolated. Like that’s an important simplification. Also Proxmox has the ability to checkpoint and backup guests which could definitely be an improvement over what I used to do. I think it’s worth the investment and the overhead isn’t too high.
Things I’m missing
Here’s some things I haven’t figured out yet or that don’t exist. I haven’t read the Proxmox docs through yet, so maybe it’s there for me to discover.
Every container has its own IP and hostname. But Proxmox has no facility for helping you track those, does not provide any sort of automated DNS for them. I’ve been installing avahi-daemon in some containers so .local mDNS names work but that seems silly. I’m also a little worried about running out of addresses in my /24. I guess I could expand the home subnet.
It feels like Tailscale could also be integrated in to Proxmox somehow. The main option seems to be to install Tailscale in each container and treat it as a separate host on the tailnet. (Which requires some config for unprivileged containers). That’s probably the right model but feels a little awkward. Also Tailscale’s binaries are 50MB, or 5x the size of the Alpine container ;-)
I still haven’t worked out how to share files across containers. Web searches suggest networked file systems: SMB or NFS or even 9P running as a server on the host and mounted on the guests. Yuck! I’m using a bindmount for a USB disk right now, that basically just shares the Unix directory from the host to the LXC guest. (You can also pass the USB device itself through and mount it only in the container, but that’s not really sharing.) I’d like some general solution for sharing disks, need to research. Maybe there’s an answer in Proxmox’ storage system which I’ve been ignoring so far.
Comments
“End of the day I have more complexity for the same services. But.. it feels right having each product isolated. Like that’s an important simplification.” I gotta say I’m struggling a bit to understand the benefit of all this stuff. [Disclosure: Lazy bum, tbray.org running on a dumb basic Debian stable VPS.]
I'll have a better answer for you in a few months once I've absorbed all the storage and cluster stuff I don't understand yet. But already I'm really appreciating the separation of concerns, it's nice knowing my Unifi install is totally separate from my Plex install and won't mess with each other. Also I've already used the checkpoint and backup options, plus the ability to quickly wipe a system and start over.
Obviously virtualization and service oriented architectures have a long and detailed story behind them. I'm enjoying trying that in a home server context.