Skip to main content

One post tagged with "privilege"

View all tags
intermediatePart 8

Move the Docker daemon off root so a container escape lands on an ordinary user

· 14 min read
Rafael Fernandes
NLP Engineer & Tech Writer at WiLine
Share:
+

Here is the part nobody says out loud when they tell you to add yourself to the docker group so you can stop typing sudo.

That group is root. Not "close to root", not "root for Docker things". If you can run a container, you can read, change or delete any file on the machine — including the password file, including other people's home directories, including the files the administrator deliberately kept away from you.

No exploit required. It is one command, and it takes about four seconds.