31
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 27 Sep 2023
31 points (100.0% liked)
Selfhosted
60482 readers
692 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:
-
Be civil.
-
No spam.
-
Posts are to be related to self-hosting.
-
Don't duplicate the full text of your blog or readme if you're providing a link.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
founded 3 years ago
MODERATORS
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).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.
I realize I’m being pedantic, but aren’t docker containers essentially just wrapped VMs?
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.
Containers share the system’s resources with the OS; VMs take these resources for themselves.
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.
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".