Hacker News new | ask | show | jobs
by wwright 1987 days ago
Running with uid 1000 in the Docker group in prod is a very bad idea to begin with
1 comments

On your single-user dev laptop it’s very likely that you are user 1000 and probably put yourself in the docker group so you wouldn’t have to sudo to run docker ps.

So then running your containers as that UID without user namespacing (docker’s default) opens you up to more attack surface than if it was uid 1001.