this post was submitted on 24 Sep 2025
150 points (95.7% liked)

Selfhosted

51810 readers
617 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
 

Curious to know what the experiences are for those who are sticking to bare metal. Would like to better understand what keeps such admins from migrating to containers, Docker, Podman, Virtual Machines, etc. What keeps you on bare metal in 2025?

you are viewing a single comment's thread
view the rest of the comments
[–] boonhet@sopuli.xyz 2 points 2 days ago

Yes, that was my point, you (generally) link statically in Rust because that resolves dependency issues between the different applications you need to run. Cost is a slightly bigger, bloatier binary, but generally it's a very good tradeoff because a slightly bigger binary isn't an inconvenience these days.

Docker achieves the same for everything, including dynamically linked projects that default to using shared libraries which can have dependency nightmares, other binaries that are being called, etc. It doesn't virtualize an entire OS unless you're using it on MacOS or Windows, so the performance overhead is not as big as people seem to think (disk space overhead, though... can get slightly bigger). It's also great for dev environments because you can have different devs using whatever the fuck they prefer as their main OS and Docker will make everyone's environment the same.

I generally wouldn't put a Rust/Cargo project in docker by default since it's pretty rare to run into external dependency issues with those, but might still do it for the tooling (docker compose, mainly).