this post was submitted on 30 Dec 2023
-4 points (40.9% liked)

Docker

966 readers
1 users here now

founded 2 years ago
MODERATORS
 

I know this seem like a typical "Your opinion man" post but honestly, is there anything really useful beyond hosting an adblocker? (read: complementary, not found elsewhere, that enhances own's personal needs and/or life as a whole). And yes, I'm aware of what can be hosted -- picture editors, video editors, webtops, dhcpcd, emulators, and so on.

But the question is -- why I'd need all that if these stuff can be found on any ordinary PC out there? Even phones. Hell, even on a smart tv. That is like "trying to reinvent the wheel" for no necessary purpose other than "to look cool". There's also "because its fun", but is it really fun doing pretty much the same thing over and over again? There isn't a "learning gap" between these hosting options -- all of em have (pretty much) the same procedure to get things running.

With that said... I've been trying really, REALLY hard to host more stuff but I can't go beyond hosting (only) an adblocker.

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 11 months ago

I think what you’re asking is not so much about docker, but rather about self hosting in general. If you don’t want to do that, you probably don’t need docker. If you do want to run some services, you still don’t need docker, but using containers can make it easier to manage. If you want to use containers, docker is one way to do that.

[–] Mbourgon 6 points 11 months ago (1 children)

Honestly, for me it’s been a godsend when it comes to versioning. New version of software comes out, I pull the new container and flip to it. If there are issues, roll it back and stay there until the next release. I’ve had various DLL/pkg hell over the years. Plex, sure, but Jesus the problems my group has had with BG3 and other apps have made me wish I could better compartmentalize apps. Oh there’s another one. Ancient piece of software? Run it in a container with the ancient version of ,Net or VB or Python or whatever.

[–] [email protected] 2 points 11 months ago (1 children)

Same. I was long reluctant to use docker due to it's cognitive and performance overhead, but once setting my system to just ignore postgresql in automatic updates settings proved insufficient and I realized I'd have to rollback ICU with all it's dependencies as well, I've decided to say fuck it, I'll use docker and if docker pisses me off, I'll just hop to Nix.

[–] [email protected] 1 points 11 months ago

This is exactly how I felt, I was reluctant then I started using docker and now I try and put most of my applications in some sort of container

[–] [email protected] 5 points 11 months ago

If you don't wanna use docker don't, there's no reason you should try to use or do something you don't need or want.

[–] [email protected] 4 points 11 months ago

I'm confused by what you're asking. I'm gonna answer this in the way I interpreted it. Docker isn't just for hosting, but also making sure everything is consistent when running. I prefer dockerizing some of my applications because it makes debugging easier or I don't want a web server I'm running directly connected to my main machine. It's literally ab comfort, so if you don't feel comfortable using docker, there's no reason to use it :)

[–] stonedemoman 4 points 11 months ago* (last edited 11 months ago)

Instead of minutia, I'm just going to mention the few reasons that really sold me on containers.

  • Security: Being able to host external services that only have access to the folders I map to it.

  • Compartmentalization: I can specify exactly what resources I want to limit/control for each individual service. I.E. stacking a VPN on top of services for a 100% guaranteed Killswitch.

  • Automation: Docker is an incredible tool for automatically restarting services whenever they hit a snag and keeping your services up to date with the latest version.

[–] [email protected] 3 points 11 months ago

Docker is simply a way to package everything the app needs to run into a nice binary you can execute locally.

It has all the dependencies, files etc. needed to run it all put together.

If you don't need more than an adblocker then it's all good.

[–] [email protected] 1 points 11 months ago

You don't need to rely on Google or Apple or give them your data?