this post was submitted on 12 Dec 2025
55 points (95.1% liked)

Selfhosted

53652 readers
796 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.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Most of the threads I've found on other sites (both Reddit and the Synology forums) have basically said "go with Docker". But what do you actually gain from this?

People suggest it's more up-to-date, and maybe for some packages that's true? But for Nextcloud specifically it looks pretty good. 32.0.3 came out 1 day ago and isn't yet supported, but the version immediately preceding that, from 3 weeks ago, is.

I've never done Nextcloud before, but I would assume installing it via the Package Center would be way easier to install and to keep up-to-date than Docker. So what's the reason everyone recommends Docker? Is it easier to extend?

you are viewing a single comment's thread
view the rest of the comments
[–] sem@lemmy.blahaj.zone 1 points 2 days ago* (last edited 2 days ago) (3 children)

I still feel like I'm missing something. Flatpaks help you sidestep dependency hell, so what is docker for? What advantages does further containerization give you if you aren't going as far as proxmox vms.?

I guess I've only tried running one service at a time that needed a database, so I get it if a Docker container can include a database and a flatpak cannot.

[–] boonhet@sopuli.xyz 3 points 2 days ago (1 children)

Docker will let you run as many database containers as you want and route things such that each service only sees its own database and none of the others, plus even processes on your host machine can't connect unless you've configured ports for that.

[–] atzanteol@sh.itjust.works 3 points 1 day ago (1 children)

Flatpaks are similar, but more aimed at desktop applications. Docker containers are made for services and give more isolation on the network.

Docker containers get their own IP addresses, they can discover each other internally, you get port forwarding, etc. Additionally you get volume mounts for persistent storage and other features.

Docker compose allows you to bring up multiple dependent containers as a group and manage connections between them, with persistent volumes. It'll handle lifecycle issues (restarting crashed containers) and health checks.

An example - say you want a Nextcloud service and an immich service running on the same host. You can create two docker-compose files that launch both of them, each with its own supporting database, and give each db and application persistent volumes for storage. Your applications can be exposed to the network and the databases only internally to other containers. You don't need to worry about port conflicts internally since each container is getting its own IP address. So those two MySQL DBs won't conflict with each other. All you need to do is ensure that publicly available services have a unique port forwarded to them. So less to keep track of.

[–] sem@lemmy.blahaj.zone 2 points 1 day ago

That sounds really great! I see now why people like it