325
you are viewing a single comment's thread
view the rest of the comments
[-] squaresinger@lemmy.world 42 points 14 hours ago

Yeah, that's a terrible decision in the docs. Don't ever add a path where anything on the shell can execute user-modifyable code as root.

As soon as you do that, you lose any protection that comes from separating root users and non-root users. Because now any malicious program can just use docker to elevate its code to root.

this post was submitted on 01 Jun 2026
325 points (98.8% liked)

Programmer Humor

31625 readers
1760 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS