71

You may have noticed a few of my posts here, I am very interested in self-hosting and what advice can you give to a newbie? maybe some literature, video, I don’t know~

you are viewing a single comment's thread
view the rest of the comments
[-] PoliticallyIncorrect@lemmy.world 21 points 8 months ago

Learn how to use Docker containers

[-] TDCN@feddit.dk 8 points 8 months ago* (last edited 8 months ago)

Came here to write exactly this. It's a steep learning curve but well worthwhile. Although I'd specify and say: learn docker compose.

Edit: what I ment was learn docker cli tools (command line tools) and use Docker compose that way. It gives you a much better understanding of how Docker actually works behind the scene while still keeping it high level

[-] TCB13@lemmy.world 5 points 8 months ago

Docker? Steep learning curve? You drunk mate?

When it comes to software the hype is currently setup a minimal Linux box (old computer, NAS, Raspberry Pi) and then install everything using Docker containers. I don’t like this Docker trend because it 1) leads you towards a dependence on property repositories and 2) robs you from the experience of learning Linux (more here) but I it does lower the bar to newcomers and let’s anyone setup something really fast.

In my opinion people should be very skeptical about everything that is “sold to the masses”, just go with a simple Debian system (command line only) SSH into it and install whatever is required / taking the time to actually learn Linux and whatnot.

[-] AustralianSimon@lemmy.world 4 points 8 months ago* (last edited 8 months ago)

I'd like to point out this is a hot take.

Enterprise infrastructure has been moving to containers for years because of scale and redundancy. Spinning up new VMs for every app failover is bloat and wasteful if it is able to be put in a container.

To really use them well, like everything in IT, understanding the underlying tech can be essential.

[-] TCB13@lemmy.world -1 points 8 months ago

Yes, that’s a valid use case. But the enterprise is also moving to containers because the big tech companies are pushing them into it. What people forget is that containerization also makes splitting hardware and billing customers very easy for cloud providers, something that was a real pain before. Why do you think that google, Microsoft and Amazon never got into the infrastructure business before?

[-] falcon15500@lemmy.nine-hells.net 4 points 8 months ago

Why do you think that google, Microsoft and Amazon never got into the infrastructure business before?

Amazon was in the infrastructure business well before containers were the "big thing".

[-] TCB13@lemmy.world 0 points 8 months ago

You're missing the point.

[-] AustralianSimon@lemmy.world 3 points 8 months ago* (last edited 8 months ago)

What are you even claiming? Billing is the same ease VM or container.

Cgroups became a thing in 2004 and then Google and Amazon started container offerings in 2008.

And you don't even need docker there are plenty of alternative engines.

[-] TCB13@lemmy.world 0 points 8 months ago

What are you even claiming? Billing is the same ease VM or container.

Before containers, when hosting was mostly shared stuff (very hard to bill and very expensive when it comes to support) or VMs that people wouldn't buy because they were expensive.

[-] TDCN@feddit.dk 0 points 8 months ago

Hmm I should maybe have added that I only ever touched docker cli tools and have never used a front end of any kind. I do know that they exists, but I like having my fingers in the mechanical room so to speak so it gave me a quite steep learning curve writing my own docker compose files from scratch and learning the syntax, environment variables and volumes working manually. I still to this day only use cli version of Docker because its the only thing I ever learned.

[-] TCB13@lemmy.world -2 points 8 months ago

writing my own docker compose files from scratch and learning the syntax, environment va

But you know that most people don't even do that. They simply download a bunch of pre-made yaml files and use whatever GUI. You would still learn more without docker.

[-] TDCN@feddit.dk 1 points 8 months ago* (last edited 8 months ago)

I can see that quickly becoming an issue if people just run random yaml files without understanding the underlying functions. I'm happy I never took that route because I leaned so much

[-] aStonedSanta@lemm.ee 5 points 8 months ago

Is there a good resource for this?

[-] PoliticallyIncorrect@lemmy.world 3 points 8 months ago* (last edited 8 months ago)

I learned it from trying an error, look for Docker documentation and you can start self hosting something like NextCloud or Jellyfin. Any software which have a Docker image can work for you to learn. You can use "AI" like Bing if you have any doubt too

[-] summerof69@lemm.ee 2 points 8 months ago

This course might be an overkill for a home server, but here's my recommendation: https://www.udemy.com/course/docker-kubernetes-the-practical-guide/?couponCode=ST15MT31224 - it covers stuff from basic manually typed commands to kubernetes and aws.

[-] lemmyvore@feddit.nl 3 points 8 months ago

Kubernetes is more than overkill for home use. I would say there's no point in ever touching it if you're only in self hosting as a hobby.

[-] synae@lemmy.sdf.org 1 points 8 months ago

I use it for my home services but that's because I also use it at work and understand it well. It is absolutely not something that a beginner should touch, especially if "docker" is a new term to them.

[-] aStonedSanta@lemm.ee 1 points 8 months ago* (last edited 8 months ago)

Sweet been interested in this myself. Thank you

this post was submitted on 13 Mar 2024
71 points (90.8% liked)

Selfhosted

40219 readers
459 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