Run docker PiHole as non root - Is it possible?

Hey all,

I have been playing around with setting up PiHole in a docker container. I used the docker run command here for my initial tests and everything worked just fine. One thing that I did notice was that the files created by PiHole where owned by root and UID 999.

Is it possible that we can pass in a UID and GUID for the containers components to run as?

If we can do the above, I think it is going to help me (and a few other on the forum by the sounds of it) with the file permissions issues when mapping shares from a NAS to the container.