News for hackers. Stuff that matters.
Re:Ask HN: What Is the Hype with Docker? by ximm on Tuesday October 25, 2022 @02:26AM (#33326953)
My biggest concern is that the docker daemon runs as root which allows for some easy privilege escalations. Having docker installed basically gives everyone root access. I am not sure if this is still the case though.
Re:Ask HN: What Is the Hype with Docker? by slhck on Tuesday October 25, 2022 @02:55AM (#33327110)
Yes, that is indeed a common problem. You can run Docker in rootless mode [1], which probably works for 99% of your development requirements. For production it is not always a good choice, as some features may not work properly (most importantly, Docker Swarm) or require extra configuration (allowing to expose privileged ports).

[1]: https://docs.docker.com/engine/security/rootless/