logoalt Hacker News

dangusyesterday at 7:14 PM4 repliesview on HN

Right, why is their login user in the docker group? Mine sure isn’t.


Replies

oytisyesterday at 7:17 PM

Rather, why do people still run agents as their own user. IMO, agent sessions should at least be containerised with just necessary code mounted.

show 2 replies
unglaublichyesterday at 7:17 PM

Convenience. Want to run `docker run ...` without password, want IDEs and agents to be able to run containers...

show 2 replies
jon-woodyesterday at 8:41 PM

Because it effectively makes no difference to my security posture. My user account also has sudo access (it requests TouchID but I also wouldn't die on the hill if someone said they have no password sudo access), and realistically everything of value on this machine exists in my home directory. Being able to escalate to root really doesn't give an attacker very much that they don't already have if they've got access to my user account.

alephnerdyesterday at 7:20 PM

Becuase a lot of devs don't know this stuff. There's a reason security engineers (as in SWEs who specialize in securing specific attack surfaces) remain in hot demand.

show 1 reply