this post was submitted on 27 Sep 2023
32 points (94.4% liked)

Selfhosted

39856 readers
463 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
 

Hi. Since yesterday i selfhosted all my stuff with a raspberry pi and two odroids. Everything works ok, but after i read about a few apps that are not supported by the arm-architecture of the SBCs and about the advantages of the backup-solution in proxmox, i bought a little server (6500T/8GB/250GB) to try proxmox.

Installed proxmox, but now - before i install my first VM - i have a few questions:

a) What Linux OS do i take? Ubuntu Server?

b) Should it be headless?

The server is in the cellar of my house, so would there be any advantages of installing an OS with a GUI?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago (2 children)

Do you actually need a VM for your use case? You might use docker containers or LXC instead.

Normally I use VMs for situations where a container isn't available (Windows, openwrt) or the VM is better supported (arguably home assistant).

[–] [email protected] 4 points 1 year ago

This indeed. To OP: if you use LXC containers using templates that Proxmox provides, they are headless by default. A Gui is a waste of resources.

[–] [email protected] 2 points 1 year ago (4 children)

I realize I’m being pedantic, but aren’t docker containers essentially just wrapped VMs?

[–] [email protected] 9 points 1 year ago* (last edited 1 year ago)

No, containers are basically sandboxed applications+dependencies running on top of the host's kernel. VMs run their own separate kernel. If anything, a container is less "wrapped" than a VM.

[–] [email protected] 6 points 1 year ago

Containers share the system’s resources with the OS; VMs take these resources for themselves.

[–] [email protected] 3 points 1 year ago

Docker containers are more like LXCs—in fact, early versions of Docker used LXC under the hood, but the project diverged over time and support for LXC was eventually dropped as they switched to their own container runtime.

[–] [email protected] 2 points 1 year ago

Nope. Docker containers are kind of "virtual filesystems" and programs are running on top of the host's kernel. They're just isolated processes running on their own volume - to which you can also attach external "volumes".