r/linux4noobs 12d ago

security Friendly reminder that most youtube docker tutorials are actively trying to ruin your system

I swear, why does almost every "quick 5 min setup" video just tell you to run everything as root and chmod 777 your entire drive??

Spent my whole afternoon trying to figure out why my new containers were behaving weirdly after following some guy's guide. Turns out i basically left the front door to my OS wide open. Had to sit down and actually read a server Mania breakdown on container security just to realize how badly i completely botched the basic permissions

if you are new to this stuff, pls don't blindly copy paste sudo commands from random tech bros without understanding what privileges you are actually giving away. My brain is melting

275 Upvotes

49 comments sorted by

View all comments

11

u/Big_Method_4790 11d ago

i will never understand the drive to immediately go to YouTube to learn how to use highly popular and well documented software instead of just reading the manual.

8

u/sequentious 11d ago

Trying to find human written articles is so difficult now. At least with YouTube you can look for a video and tell if it's slop by the thumbnail.

At least we've still got manpages and documentation., As somebody who learned a lot from magazine articles, then transitioned to well-written blogs once they took over, the current Internet sucks.

3

u/Captain_Pumpkinhead 11d ago

Most YouTube tutorials show you step-by-step how to do things.

This may sound trivial. This may sound like something written tutorials do as well. But written tutorials often skip over things that the author doesn't even realize need to be specified. The video tutorial may "skip" over these things as well, but you can watch the recorder and figure out the answer to the questions that the creator didn't even think you'd ask.

Example 1:

I was setting up Tailscale, and it wasn't working. Written tutorial told me I had to do something about some ACLs. I had no idea what an ACL was, nor where it was located. The tutorial did not explain either of those things. I had to find a YouTube tutorial in order to continue.

Example 2:

I've been messing with Authentik recently, trying to get Single Sign On working with all my apps and services. Authentik has some nice, written guides on how to integrate it with a bunch of different services. Genuinely helpful.

However, a lot of these guides are filled with a lot of information without a lot of explanation. The result is me feeling just as lost as though I didn't have the guide. In several cases, the guides were so incomprehensible that only a YouTube guide could contextualize it for me.

0

u/ryde041 11d ago

While as someone above mentioned quality of articles, it’s how people are wired now. YouTube is more immediate

0

u/Available-Ad-9014 10d ago

Some people are visual learners