Running Nginx official image as non root

It seems you are not aware of what userns-remap is. The point of using a user namespace is that the usr ids in the container and outside containers will be different, so when you mount a folder from the host, a process in the container can’t change anything. You don’t need a UID 101 on the host. You need it in the container, but it is just virtually 101. In reality it is something userns minimum UID + 101 and the minimum UID becomes zero in the container, which means root. This is how rootless containers work too. Your user will run Docker and your user become the root in the container so you can mount files from your home to be owned by root in the container.

Why would it? the problem is not the folder being read-only, but the different UID and GID.