Is It Safe to Use One User Account for All My Docker Containers?

0
10
Asked By CleverTurtle27 On

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?

1 Answer

Answered By HappyHacker123 On

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.

CuriousBee14 -

Yeah, I’m keeping it simple for now too. I might look into reverse proxies later on, maybe with Caddy or Nginx.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.