this post was submitted on 26 Jun 2023
35 points (94.9% liked)

Selfhosted

39566 readers
311 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 1 year ago
MODERATORS
 

Hey all,

Just wondering what the consensus is on hosting directly on a computer versus virtualization? Right now I'm hosting my Lemmy instance on a Hetzner VPS, but I would like to eventually migrate to my Linux box at home. It currently runs as a media PC (Ubuntu) in the living room, but I always intended to self-host other software on the side since it should be more than capable of doing both (Ryzen 5600G, 16gb DDR4).

I'm just torn though - should I host a virtual machine on it for Lemmy, or run it directly on Ubuntu as-is? I plan to do some further self-hosting projects as well later down the line.

you are viewing a single comment's thread
view the rest of the comments
[–] callcc 2 points 1 year ago

Docker is convenient but not really a solution if you care about free software. It's as in-transparent as a windows installer. Not really of course but it drags the FLOSS community in that direction. I think we should work on making distributions better at installing and maintaining complex web applications (including their databases etc). Why can't I just install lemmy or whatever package in a standard debian? Why is state scattered around? Why is it tough to have several versions of interpreters or libraries installed side by side? These are questions we should ask the people making distributions. Maybe GUIX or Nixos style distros are the answer to these questions.

All in all, docker isn't really about isolation or containers, it's about having a convenient but in-transparent abstraction for a package and their state.