Docker container user / group identifiers

I’m using the homeassistant/home-assistant docker container but I’m missing the PUID and PGID environment variables. All files created through the container are owned by root on my host. I like to keep things clean and save, and imo that means all files being made should be owned by a specific user on the host.

Am I missing something? If not, is there some way I can configure this anyway?

1 Like