Is It Safe to Use One User Account for All My Docker Containers?
Asked by
CleverTurtle27
I'm using OpenMediaVault 8 along with Docker and currently have several users set up: one for admin access to the web UI, another for Docker, one for accessing my SMB share, and a user specifically for Jellyfin. I'm planning to set up additional services like MakeMKV, Pi-hole, Immich, and some game servers in Docker containers. Can I just create a single user that has access to all of these services, using one UID and GID? Or is it better to create separate users for each service? How do you all manage users for multiple Docker containers?
Answers
You can totally use one user for all your Docker containersโit's doable! But is it the best idea? Not really. For local services on a homelab, it might not cause issues, but think about security. If one service gets compromised, all your data could be at risk. So while itโs possible to streamline with a single user, Iโd recommend being cautious about which services get that access.
Reply to this answer
Add your answer
Answers are reviewed before publication.
CuriousBee14: Yeah, Iโm keeping it simple for now too. I might look into reverse proxies later on, maybe with Caddy or Nginx.