this post was submitted on 09 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

515 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Im using multiple computers currently running docker, I don't quite understand docker swarm but im looking for a implementation that is open source and overall very good for container management, ideally i would like the containers to all think they are on the same computer, if docker swarm is the best option where is the best learning rescource.

top 6 comments
sorted by: hot top controversial new old
[–] AccountSuspicious621@alien.top 1 points 1 year ago (1 children)

You could deploy a Kubernetes cloud using Kubrspray. The learning curve is steep bit rewarding.

[–] buckypimpin@alien.top 1 points 1 year ago

or just use k3s

[–] IWANT2BEPILOT@alien.top 1 points 1 year ago

depending on your use case, it might be worth learning k3s - basically a more supported docker swarm. it’s a bit harder to get up and running compared to docker, but you can do a lot of cool stuff with it.

think they are on the same computer k3s with kubevip may work for you - you can have containers distributed amongst many computers (nodes), but to computers outside of the cluster it just looks like one machine.

[–] Kindly-Fruit3788@alien.top 1 points 1 year ago

For Container mgmt on docker is Portainer the Solution Otherwise lern k8s With rke2 or k3s

[–] funkypenguin@alien.top 1 points 1 year ago

If you're wanting a learning resource (rather than having it "Just Work"), may I offer https://geek-cookbook.funkypenguin.co.nz/docker-swarm/ ? It's my opinionated process on building out a swarm, much like you describe :)

[–] NiftyLogic@alien.top 1 points 1 year ago

Just have a look at Nomad.

Had a single docker machine before, and wanted to upgrade to a more distributed setup. Works like a charm now 😀

IMHO Nomad is in the sweet spot between Docker and K8s: more capable than docker, but still not the mess of disparate moving parts that is K8s.