Comment on Does "Selfhosted" mean you actually have a server at home?

<- View Parent
tristan@aussie.zone ⁨1⁩ ⁨year⁩ ago

Docker/kubernetes and VMS are similar in that they are all virtualisation but the similarity kinda end there. Love them or hate them, Each has its own important role in IT infrastructure.

First off, docker itself needs a host operating system to run. Secondly, Docker are containers. Each image is built on a cut down version of the operating system generally to perform one specific task or run one specific application. The environment is preconfigured to work exactly as intended so generally speaking, you don’t get the whole “but it works on my machine”

Kubernetes I’m not the most qualified to speak to, but pretty much someone said “ok docker is great but we want redundancy, scalability, etc” and made kubernetes.

A vm is a full virtual machine. You can give it virtual harddisks, virtual network cards, etc. You then install a full operating system on it, could be windows or Linux or whatever you need.

From there you can install docker if that’s what you want, or can install specific apps. This is the first difference, is if you install the app compared to a docker container, you need to make sure you have all the prerequisites met, all the correct compatibility, etc. It’s up to you to make sure your system is correct for the software.

Another major difference is docker containers are all seen on the network as coming from whatever the host machine’s IP is.

Whereas the network views each vm as it’s own device on the network, giving each it’s own IP (if using dhcp) and allowing things like vlans and things.

As for my setup, I have 3 VMs with docker servers, each with between 20-30 docker containers, 3 VMs running adguard DNS, 1 vm acting as a tailscale entry point, then a few application specific VMs. It’s handy just being able to fire up a blank Ubuntu instance to play with me software, and if anything goes wrong just delete the whole machine and start fresh.

Then for storage behind it all, I have a qnap ts453d with 4x 8tb drives.

Then outside my home, I have 2 X Oracle hosted VMs, one hosting about 22 websites and all the stuff they need, one acting as a tunnel into my home services since I’m behind a CGNAT, and then another physical server located in the local data centre running email for a few small businesses and myself

source
Sort:hotnewtop