Get the latest tech news
Rootless Docker in a multi-user environment
Tim's internet corner. You will find occasional articles related to Linux, other UNIX-like systems, and DevOps here.
Even though it’s quite easy to install the Docker daemon in rootless mode, things can get hacky when you need this to work for more than one user. Empowering them to work freely in the dedicated user’s$HOME — where the socket is located by default — is kind of meh. The solution is scalable as well, since to allow new users to manage unprivileged containers on a server, they just need to be added to a group, and create a context 🎉.
Or read this on Hacker News