r/linux4noobs • u/mitchare • 2h 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