this post was submitted on 21 Aug 2025
66 points (97.1% liked)

Selfhosted

51469 readers
189 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

New server has been acquired. Debian 13 has been installed.

GS308EP switches have been acquired and installed.

Now, I'm working to migrate to the new machine. 3 1/2 years ago when I started futzing with Docker, I sorta followed guides and guessed, abused it trying to make it do things it wasn't designed for, and flipped switches I likely shouldn't have flipped, so the set up is more than a little shabby.

As a result, I'll likely end more redeploying than migrating the containers.

So rather than go forward with Docker blindly, I want to reassess whether I shouldn't look into Proxmox, LXC, or Podman instead of Docker, or maybe something else entirely?

Work is just about done dumping ESX for Nutanix, but both of those seem overkill for my needs.

Of course the forums for any of the solutions make their own out to be the best thing since sliced bread and the others useless, so I'm hoping to get a more nuanced answer here.

top 50 comments
sorted by: hot top controversial new old
[–] Vendetta9076@sh.itjust.works 30 points 3 weeks ago (7 children)

I use proxmox has the base OS to deploy different virtual machines/LXCs depending on what I need. I have a dedicated docker lxc among those. Say what you will about docker, and man do people have opinions, but proxmox is probably the best way to run a multi lxc/VM setup. Highly recommend regardless of what else you do.

[–] iturnedintoanewt@lemmy.world 3 points 3 weeks ago

I have a dedicated LXC container called docker where I install all my docker images.

[–] Imacat@lemmy.dbzer0.com 1 points 3 weeks ago

Same here and it’s worked well. I migrated my arr stack from another machine where it was in docker and just couldn’t see a reason to spend a bunch of time rebuilding it with LXCs.

[–] SpikesOtherDog@ani.social 1 points 3 weeks ago

I am using proxmox to host my docker machine as well. I'm also using it to host a W11 machine for just-in-casies. Third machine so far is a VM for testing.

load more comments (4 replies)
[–] glizzyguzzler@piefed.blahaj.zone 21 points 3 weeks ago (1 children)

If you’ve got Debian already installed, I cannot resist advocating for Incus (stable branch from Zabbly repo with web ui https://blog.simos.info/how-to-install-and-setup-the-incus-web-ui/) in lieu of proxmox. Does the same thing but you don’t have to rip out the kernel Debian uses.

With Debian 13 you have access to podman quadlets, use that for any non-vm needs. The ease of docker compose files easily removes reason for programs in LXC containers, and podman removes reason for docker in an LXC. LXC is left only for programs that aren’t containerized. VMs for security DMZ. Podman for bulk of stuff you want.

Good luck!

[–] tofubl@discuss.tchncs.de 4 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

I was in a similar spot not too long ago, setting up a firewall and general network box. I was going to go with Proxmox but a fellow Lemmy guy strongly advocated for Incus on top of vanilla Debian. I was intrigued and ended up going for it. Learned a lot about networking with systemd (bridging, IP assignment and so on) for things I could have gotten for free in Proxmox (literally a few clicks), and had to fight Incus to work with a FreeBSD VM for Opnsense, but I love the setup now. Pure debian with a few Incus VMs and Docker inside of those as needed. So clean!

[–] koala@programming.dev 6 points 3 weeks ago (2 children)

Came in here to mention Incus if no one had.

I love it. I have three "home production" servers running Proxmox, but mostly because Proxmox is one of very few LTS/comercially-supported ways to run Linux in a supported way with root (and everything else on ZFS). And while its web UI is still a bit clunky in places, it comes in handy some times.

However, Incus automation is just... superior. incus launch --vm images:debian/13 foo, wait a few seconds then incus exec foo -- bash and I'm root on a console of a ready-to-go Debian VM. Without --vm, it's a lightweight LXC container. And Ansible supports running commands through incus exec, so you can provision stuff WITHOUT BOTHERING TO SET UP ANYTHING.

AND, it works remotely without fuss, so I can set up an Incus remote on a beefy server and spawn VMs nearly transparently. + incus file pull|push to transfer files.

I'm kinda pondering scripting removal of the Proxmox bits from a Proxmox install, so that I just keep their ZFS support and run Incus on top.

load more comments (2 replies)
[–] glizzyguzzler@piefed.blahaj.zone 3 points 3 weeks ago (2 children)

I’m looking at Opnsense on an Incus VM soon, what was your fight there? Good to know what I’ll hit ;)

Agreed on that path - some networking (like mimicking proxmox’s bridge connections which give VMs their own MAC/IP) takes effort to find the solution. But the basic LXC/VM-shares-your-IP works super easily and the script ability is great. Plus it doesn’t feel like a yoke on your system that is heavy and drives it, but just another application! I feel it’s close enough, and when you get it where you want it, it’s perf. I assume they’ll get “one click” solutions for the harder stuff baked in as they get more attention and traction.

load more comments (2 replies)
[–] ruuster13@lemmy.zip 19 points 3 weeks ago

There is no wrong answer but the right answer is Proxmox.

[–] warmaster@lemmy.world 15 points 3 weeks ago (1 children)

Definitely Proxmox as base OS, Docker inside.

[–] possiblylinux127@lemmy.zip 6 points 3 weeks ago (1 children)

Run Docker inside a LXC or VM

[–] metaStatic@kbin.earth 3 points 3 weeks ago (1 children)

and run Proxmox inside that VM

[–] possiblylinux127@lemmy.zip 2 points 3 weeks ago (1 children)
[–] metaStatic@kbin.earth 2 points 3 weeks ago

they claim 3% overhead, I bet you could get pretty deep before noticing.

[–] Nico_198X@europe.pub 15 points 3 weeks ago (1 children)

i just came into containerization recently and skipped Docker completely and went straight to podman. it's been fantastic and integrates well with systemd. i would recommend anyone new to do the same.

since you're not new, and are looking for something different, i would say do podman instead of docker.

[–] reluctant_squidd@lemmy.ca 7 points 3 weeks ago

I concur. Podman is superior in my opinion. It’s more secure by default (rootless containers) and can do pretty much everything docker can do naively (you can literally alias docker to podman in your shell and it will work)

It’s not as easy to find info on some of the systemd specific stuff (Quadlets), but once you figure that out, it’s pretty amazing.

I ended up making up my own scripts to allow me to create new system users, pre-loaded with aliases and shortcut functions to make my life easier ( automatic quadlet container file generation, pre-set network rules, etc), but it is not required.

All the info is there, but starting out it can be a bit overwhelming.

My containers are pretty much self sufficient now. I just intervene when something needs major updating or config changes

[–] frongt@lemmy.zip 9 points 3 weeks ago (1 children)

Proxmox can run lxc containers natively.

Personally I keep a Debian VM for docker, a holdover from before hypervisors supported containers natively. I use docker compose and it Just Works™.

[–] tazeycrazy@feddit.uk 1 points 3 weeks ago

I have three docker nodes on three Debean VMs on three proxmox servers. I should play around with lxcs and native containers on proxmox but it would mess up with my tri lateral system.

[–] lka1988@lemmy.dbzer0.com 7 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I run Proxmox in my small cluster. Proxmox runs multiple VMs that each run various groups of docker containers.

They're on different levels.

load more comments (1 replies)
[–] chocrates@piefed.world 7 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

Proxmox is a hypervisor. I would install that as your os if that is something you want.

If you just need containers, podman is good. Docker is fine, but podman is open source.

That being said, I run proxmox on my server and have various vms running. I have a laptop that I will use to play with containers and if it turns into a service I want I'll make it run on proxmox, either as a container itself or as something running on a VM on the hypervisor

[–] hobbsc@lemmy.sdf.org 4 points 3 weeks ago

podman is also rootless.

[–] possiblylinux127@lemmy.zip 1 points 3 weeks ago

Docker CE is also just as foss

[–] beerclue@lemmy.world 6 points 3 weeks ago (1 children)
[–] frongt@lemmy.zip 3 points 3 weeks ago

I don't think jellyfin runs on DOS.

[–] Creat@discuss.tchncs.de 5 points 3 weeks ago (2 children)

Proxmox and Docker don't really do the same thing. They live in the same area, but the coverage is very different. You can always use docker when your host is running proxmox: either individually or in groups inside of an lxc, or all in w dedicated VM, or even natively on the same house if you prefer chaos. But you can't do the opposite: Sometimes you just need a VM. Maybe you only need a couple of devices, and you know they run on or are even designed for docker, then that's the better option. In all other cases, and when just getting started, proxmox is just the way more universal solution if you're only planning on having a single host (for now).

The management tools in proxmox are great. The community scripts are a fantastic resource and only work with proxmox. I would suggest you set it up natively, not on top of Debian though, even if that's already installed. Not the least of the reasons are to be able to use ZFS easily, including on on the boot partition (select that in the installer).

Finally, if you're gonna stick with docker, like others said: consider podman. That really does the same thing docker does, but it's fully open source. Arguably it's better in some areas, but on the flip side might, in occasion, require fiddling with something intended specifically for docker and using advanced setups.

Also there really is no wrong answer, either. And you can always change whatever you choose.

[–] possiblylinux127@lemmy.zip 3 points 3 weeks ago

Docker community edition is fully foss

I like Podman but In don't think foss is the driving factor in this case

[–] abeorch@friendica.ginestes.es 2 points 3 weeks ago (2 children)

@Creat @JeanValjean Alot of apps seem to come with Docker images - can you use those with Podman?

[–] EncryptKeeper@lemmy.world 1 points 3 weeks ago

Docker images are OCI compliant and are agnostic of the container runtime you use.

[–] Creat@discuss.tchncs.de 1 points 3 weeks ago (1 children)

Yes. That's basically the point. They call it a "drop in replacement", but last I used it manually there were some extra steps for what I wanted to do. To be clear: not for every thing you want to setup, just one if the things I read don't up required extra steps. But I also hear that those things have changed since then and it's mostly seamless now.

[–] EncryptKeeper@lemmy.world 1 points 3 weeks ago

It’ll never really be a perfect drop in replacement because Docker relies on its daemon for a lot of functionality and Podman is daemonless, so you have to work around that. But like you said it’s just a matter of learning how things work with Portman.

[–] abeorch@friendica.ginestes.es 4 points 3 weeks ago

@JeanValjean I am not in a position to judge but Id be interested to hear comments on this position.

From the Proxmox Discussion Forum

Linux Containers (= LXCs) and docker containers are something completely different. LXCs are system containers. These contain a full OS except for the kernel which is shared with the host. You will have to administrate them like you would do it with a VM.
Docker containers are application containers where you containerize a single appliance. You don't individualize/upgrade them. You just throw them away and create a new one. So you are quite limited what you can do with them, as all you can configure is what the container creator wants you to be able to change.

So if you want a service as secure and independent as possible, or if you want to use Win/Mac/FreeBSD, use a VM.
If you want something like a VM running Linux, but you want less overhead, at the cost of security, use a LXC.
If you just want to run some services but you don't want to invest time on learning how they work or administrating them, then running a VM with docker would be a good choice.

[–] maarvin@lemmy.world 3 points 3 weeks ago

Proxmox with all of its warts appears to be the better hypervisor. If your host has the headroom like others suggested: proxmox with a VM hosting docker/podman.

I have to say running proxmox saved me from running to the basement or opening up IPMI a few times already when making suspect changes to a VM that otherwise would have taken down the network of my host.

ATM I’m running Proxmox with Nixos VMs running mixed docker/podman containers. It works out pretty well for my use case and with some opentofu fiddling I have most of my infrastructure defined in config files if that’s a rabbit hole you want to go down.

As for my experience with docker vs podman I have to say podman can pretty much do whatever docker does with the exception of docker swarm. You may have to do some digging to handle more advanced networking/gpu setups.

The only thing I have running docker atm is a gluetun container because container to container networking took more than 15m of research with podman so I fell back to the very well documented path using docker.

[–] ghurab@lemmy.world 2 points 3 weeks ago (1 children)

I use systemd-nspawn to absolutely pissoff everyone :)

[–] prettybunnys@sh.itjust.works 1 points 3 weeks ago* (last edited 3 weeks ago)

systemd-nspawn launched virt-qemu-run instance of proxmox running a windows hyper-v vm

[–] Evotech@lemmy.world 2 points 3 weeks ago* (last edited 3 weeks ago)

Docket-compose is the easiest and most commonly used format imo

[–] WhyJiffie@sh.itjust.works 2 points 3 weeks ago

docker in a vm in proxmox!

no but really. I don't like that the vm host's kernel is shared with all the containers.
then maybe have 2 or 3 VMs, one of which hosts essential services (not like your nextcloud, but services that are necessary to make the (internal or whole home) network work like DNS and DHCP, maybe monitoring, and another that hosts your convenience services (jellyfin, nextcloud). the first is easier to fix if it breaks, the second is not the end if the world if it does. maybe also have a third for services that would be painful to have offline (nextcloud), but try to limit it to few tasks because the goal is simplicity. this setup can help with distro upgrade difficulties, and vm custom configuration issues when you have set up something that seems to work but will prevent VM startup sometime in the future.

podman could be a good idea too.

[–] Duckling5746@lemmy.today 2 points 3 weeks ago (2 children)

Proxmox is great. I run each service in its own lxc/vm. Many of the vms also run docker. Probably overkill, but backups and restores via Proxmox Backup Server are super easy when segregated this way

[–] punkcoder@lemmy.world 2 points 3 weeks ago

This. Unless you want to go through the hell of multiple redundant architecture to deal with updates breaking things and backups. If you are The only person who is maintaining the multiple services that you’re running the backup feature alone is the reason to go with Proxmox. Upgrade to a lcx container didn't go like you thought it would, roll back the backup, 30 sec and done. Also making liberal use of alpine have made it smooth and simple.

[–] WhyJiffie@sh.itjust.works 1 points 3 weeks ago (2 children)

where do you run PBS? in a vm on the main proxmox host?

[–] OminousOrange@lemmy.ca 1 points 3 weeks ago

LXC on the host for me. Make sure it never backs itself up though.

[–] Duckling5746@lemmy.today 1 points 3 weeks ago

Yes that's exactly how I run it. I backup the PBS vm separately also, in case the host goes down

[–] Appoxo@lemmy.dbzer0.com 2 points 3 weeks ago

Both. Depends on what you want to achieve

[–] Pastime0293@discuss.tchncs.de 1 points 3 weeks ago

Maybe use Docker with a UI like lazydocker or Portainer.

If you feel safe with Docker, perhaps experiment with Proxmox as a base. Then you can separate your environments into different VMs.

load more comments
view more: next ›